diff options
Diffstat (limited to 'src/canutil')
-rw-r--r-- | src/canutil/read.c | 2 | ||||
-rw-r--r-- | src/canutil/write.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/canutil/read.c b/src/canutil/read.c index 5e882c3d..fddf75e3 100644 --- a/src/canutil/read.c +++ b/src/canutil/read.c @@ -1,4 +1,6 @@ +#include <canutil/read.h> #include <bitfield/bitfield.h> +#include <bitfield/8byte.h> float bitfield_parse_float(uint64_t data, uint8_t bit_offset, uint8_t bit_size, float factor, float offset) { diff --git a/src/canutil/write.c b/src/canutil/write.c index 583c2513..12c8fa28 100644 --- a/src/canutil/write.c +++ b/src/canutil/write.c @@ -1,5 +1,6 @@ -#include "write.h" +#include <canutil/write.h> #include <bitfield/bitfield.h> +#include <bitfield/8byte.h> uint64_t bitfield_encode_float(float value, uint8_t bit_offset, uint8_t bit_size, float factor, float offset) { |