Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
decoder: rework how to swap frame layout.
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
utils
/
converter.hpp
diff --git
a/low-can-binding/utils/converter.hpp
b/low-can-binding/utils/converter.hpp
index
32c898f
..
23f8ae7
100644
(file)
--- a/
low-can-binding/utils/converter.hpp
+++ b/
low-can-binding/utils/converter.hpp
@@
-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);
};