|
@@ -214,7 +214,7 @@
|
214
|
214
|
else if (isnan(f))
|
215
|
215
|
serialprintPGM(human ? PSTR(" . ") : PSTR("NAN"));
|
216
|
216
|
else if (human || csv) {
|
217
|
|
- if (human && f >= 0.0) SERIAL_CHAR(f > 0 ? '+' : ' '); // Space for positive ('-' for negative)
|
|
217
|
+ if (human && f >= 0.0) SERIAL_CHAR(f > 0 ? '+' : ' '); // Display sign also for positive numbers (' ' for 0)
|
218
|
218
|
SERIAL_ECHO_F(f, 3); // Positive: 5 digits, Negative: 6 digits
|
219
|
219
|
}
|
220
|
220
|
if (csv && i < GRID_MAX_POINTS_X - 1) SERIAL_CHAR('\t');
|