diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 22:51:54 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 22:52:40 -0500 |
commit | 921b43ea8aaa377a42a11cede653165ec84d8aa4 (patch) | |
tree | 23bacddbc9b9b0063b45a50eb6ec8bcb28eb9b2f /src/canutil | |
parent | 09dc97c24f9f9a9c2638405167bffe339f666e2a (diff) |
Fix some implicitly defined functions - import proper headers.
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) { |