diff --git a/cores/esp8266/core_esp8266_noniso.c b/cores/esp8266/core_esp8266_noniso.c index 7fb4fd66a..0b53583fd 100644 --- a/cores/esp8266/core_esp8266_noniso.c +++ b/cores/esp8266/core_esp8266_noniso.c @@ -203,7 +203,7 @@ char * dtostrf(double number, signed char width, unsigned char prec, char *s) { remainder -= digit; } // add '0' to fill minimum width requirement - while (width-- > 0) *out++ = '0'; + while (width-- > 0) *out++ = ' '; // make sure the string is terminated *out = 0; return s;