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.
This commit is contained in:
parent
b86ba60a25
commit
24f1e0231e
1 changed files with 1 additions and 1 deletions
2
print.c
2
print.c
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#ifndef DECIMAL_PLACES
|
#ifndef DECIMAL_PLACES
|
||||||
#define DECIMAL_PLACES 3
|
#define DECIMAL_PLACES 3
|
||||||
#define DECIMAL_MULTIPLIER 10*10*10
|
#define DECIMAL_MULTIPLIER 1000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void printString(const char *s)
|
void printString(const char *s)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue