mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
Add int16_t to MixedTyped
am: ed7ce7afdf
Change-Id: Ide525dcc21b8245ff1cad22c6ee3ca58905064d4
This commit is contained in:
@@ -62,7 +62,8 @@ void copy_back(MixedTyped* dst, const std::vector<RequestArgument>& ra, char* sr
|
||||
copy_back_<float>(dst, ra, src);
|
||||
copy_back_<int32_t>(dst, ra, src);
|
||||
copy_back_<uint8_t>(dst, ra, src);
|
||||
static_assert(3 == std::tuple_size<MixedTyped>::value,
|
||||
copy_back_<int16_t>(dst, ra, src);
|
||||
static_assert(4 == std::tuple_size<MixedTyped>::value,
|
||||
"Number of types in MixedTyped changed, but copy_back function wasn't updated");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user