Browse Source

Update a UBL comment (#20931)

Giuliano Zaro 3 years ago
parent
commit
6eec242a07
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl.cpp View File

@@ -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');

Loading…
Cancel
Save