Explorar el Código

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

Scott Lahteine hace 6 años
padre
commit
55aedf036b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp Ver fichero

@@ -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…
Cancelar
Guardar