diff --git a/src/system/stringhelpers.c b/src/system/stringhelpers.c --- a/src/system/stringhelpers.c +++ b/src/system/stringhelpers.c @@ -42,14 +42,14 @@ char* itoa_fp(int16_t i, uint8_t frac, c ++p; shifter = shifter/10; }while(shifter); - + ++p; // increment for decimal point do{ ++p; frac_shifter = frac_shifter/10; }while(frac_shifter); - + // Null-terminate the string *p = '\0';