From 24f1e0231ee477d9a6a99130479f8227d8ea2bcb Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Tue, 31 Jan 2012 21:09:47 -0700 Subject: [PATCH] printFloat rounding fix. Affected settings. Recommend using new build. printFloat was printing incorrectly and adding a value of 5 to every float instead of 0.0005 when rounding to 3 decimal places. The printed settings values do not accurately portray the actual stored value. Recommend using newly posted build. --- print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print.c b/print.c index f8e7a0c..21a22ed 100644 --- a/print.c +++ b/print.c @@ -29,7 +29,7 @@ #ifndef DECIMAL_PLACES #define DECIMAL_PLACES 3 -#define DECIMAL_MULTIPLIER 10*10*10 +#define DECIMAL_MULTIPLIER 1000 #endif void printString(const char *s)