Selaa lähdekoodia

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

Scott Lahteine 6 vuotta sitten
vanhempi
commit
55aedf036b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp Näytä tiedosto

@@ -2202,8 +2202,8 @@ void MarlinSettings::reset(PORTARG_SOLO) {
2202 2202
           for (uint8_t py = 0; py < GRID_MAX_POINTS_Y; py++) {
2203 2203
             for (uint8_t px = 0; px < GRID_MAX_POINTS_X; px++) {
2204 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 2207
               SERIAL_ECHOPGM_P(port, " Z");
2208 2208
               SERIAL_ECHO_F_P(port, LINEAR_UNIT(z_values[px][py]), 5);
2209 2209
               SERIAL_EOL_P(port);

Loading…
Peruuta
Tallenna