Browse Source

Fix M503 ABL mesh report. (Zero-based IJ indices)

Scott Lahteine 6 years ago
parent
commit
55aedf036b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp View File

2202
           for (uint8_t py = 0; py < GRID_MAX_POINTS_Y; py++) {
2202
           for (uint8_t py = 0; py < GRID_MAX_POINTS_Y; py++) {
2203
             for (uint8_t px = 0; px < GRID_MAX_POINTS_X; px++) {
2203
             for (uint8_t px = 0; px < GRID_MAX_POINTS_X; px++) {
2204
               CONFIG_ECHO_START;
2204
               CONFIG_ECHO_START;
2205
-              SERIAL_ECHOPAIR_P(port, "  G29 W I", (int)px + 1);
2206
-              SERIAL_ECHOPAIR_P(port, " J", (int)py + 1);
2205
+              SERIAL_ECHOPAIR_P(port, "  G29 W I", (int)px);
2206
+              SERIAL_ECHOPAIR_P(port, " J", (int)py);
2207
               SERIAL_ECHOPGM_P(port, " Z");
2207
               SERIAL_ECHOPGM_P(port, " Z");
2208
               SERIAL_ECHO_F_P(port, LINEAR_UNIT(z_values[px][py]), 5);
2208
               SERIAL_ECHO_F_P(port, LINEAR_UNIT(z_values[px][py]), 5);
2209
               SERIAL_EOL_P(port);
2209
               SERIAL_EOL_P(port);

Loading…
Cancel
Save