Browse Source

Patch print_bed_level numbering

Scott Lahteine 8 years ago
parent
commit
e8f2604a6f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

@@ -2212,7 +2212,7 @@ static void clean_up_after_endstop_or_probe_move() {
2212 2212
         if (y < 10) SERIAL_CHAR(' ');
2213 2213
         SERIAL_ECHO((int)y);
2214 2214
         SERIAL_CHAR(ydir ? (ydir > 0 ? '+' : '-') : ' ');
2215
-        SERIAL_CHAR(']');
2215
+        SERIAL_ECHOLN(']');
2216 2216
       }
2217 2217
     #endif
2218 2218
     if (bed_level_grid[x][y] < 999.0) {
@@ -2299,7 +2299,7 @@ static void clean_up_after_endstop_or_probe_move() {
2299 2299
    */
2300 2300
   static void print_bed_level() {
2301 2301
     SERIAL_ECHOPGM("Bilinear Leveling Grid:\n ");
2302
-    for (uint8_t x = 1; x < ABL_GRID_POINTS_X + 1; x++) {
2302
+    for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
2303 2303
       SERIAL_PROTOCOLPGM("    ");
2304 2304
       if (x < 10) SERIAL_PROTOCOLCHAR(' ');
2305 2305
       SERIAL_PROTOCOL((int)x);
@@ -2307,7 +2307,7 @@ static void clean_up_after_endstop_or_probe_move() {
2307 2307
     SERIAL_EOL;
2308 2308
     for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++) {
2309 2309
       if (y < 9) SERIAL_PROTOCOLCHAR(' ');
2310
-      SERIAL_PROTOCOL(y + 1);
2310
+      SERIAL_PROTOCOL(y);
2311 2311
       for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
2312 2312
         SERIAL_PROTOCOLCHAR(' ');
2313 2313
         float offset = bed_level_grid[x][y];

Loading…
Cancel
Save