decoder: rework how to swap frame layout.
[apps/agl-service-can-low-level.git] / low-can-binding / utils / converter.hpp
index 32c898f..23f8ae7 100644 (file)
@@ -29,6 +29,7 @@ class converter_t
                                                 int &new_end_byte,
                                                 uint8_t &new_start_bit,
                                                 uint8_t &new_end_bit);
-               static uint32_t bit_position_swap(unsigned int bit_position,
+               static uint32_t bit_position_swap(unsigned int msg_length,
+                                                 unsigned int bit_position,
                                                  unsigned int bit_size);
 };