aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/utils
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-19 16:44:38 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-12-03 19:46:26 +0100
commit301265a5dab15f8ad70127fcc01b1f5f3260915a (patch)
tree585fea629e48334674d2ecf2c3e3773b7bd0ad5a /low-can-binding/utils
parente671dc14af007ad96edc824a4373e4c52b5cf070 (diff)
converter: littles improvements.
Change-Id: I9198835b96c66c140f8b1d4167828302b9dc4959 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils')
-rw-r--r--low-can-binding/utils/converter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/utils/converter.hpp b/low-can-binding/utils/converter.hpp
index cb52f1ac..45233268 100644
--- a/low-can-binding/utils/converter.hpp
+++ b/low-can-binding/utils/converter.hpp
@@ -23,6 +23,6 @@ class converter_t
{
public:
static std::string to_hex(const uint8_t data[], const size_t length);
- static void signal_to_bits_bytes(uint32_t bit_position, uint32_t bit_size, int &new_start_byte, int &new_end_byte, int &new_start_bit, int &new_end_bit);
+ static void signal_to_bits_bytes(uint32_t bit_position, uint32_t bit_size, int &new_start_byte, int &new_end_byte, uint8_t &new_start_bit, uint8_t &new_end_bit);
static uint32_t bit_position_swap(uint32_t bit_position,uint32_t bit_size);
};