浏览代码

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

Scott Lahteine 6 年前
父节点
当前提交
55aedf036b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp 查看文件

@@ -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);

正在加载...
取消
保存