Procházet zdrojové kódy

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

Scott Lahteine před 6 roky
rodič
revize
55aedf036b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp Zobrazit soubor

@@ -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…
Zrušit
Uložit