diff options
Diffstat (limited to 'src/canutil/write.c')
-rw-r--r-- | src/canutil/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canutil/write.c b/src/canutil/write.c index 3b3ae25d..7f3a3e04 100644 --- a/src/canutil/write.c +++ b/src/canutil/write.c @@ -2,7 +2,7 @@ #include <bitfield/bitfield.h> #include <bitfield/8byte.h> -static uint64_t float_to_fixed_point(const float value, const float factor, +uint64_t float_to_fixed_point(const float value, const float factor, const float offset) { float raw = (value - offset) / factor; if(raw > 0) { |