From 500668d68145e0afb7a08e5757bf22a6dd7d74bb Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Wed, 5 Mar 2014 15:39:52 -0500 Subject: Make float_to_fixed_point a public function. --- src/canutil/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/canutil/write.c') 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 #include -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) { -- cgit 1.2.3-korg