From 70d39ac18531dd0d567f10fe85dc6508adf23d17 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 7 Jun 2018 16:21:29 -0500 Subject: [PATCH] Fix M503 ABL mesh report. (Zero-based IJ indices) --- Marlin/configuration_store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index 982c5b427..0bd07a4bb 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -2185,8 +2185,8 @@ void MarlinSettings::reset() { for (uint8_t py = 0; py < GRID_MAX_POINTS_Y; py++) { for (uint8_t px = 0; px < GRID_MAX_POINTS_X; px++) { CONFIG_ECHO_START; - SERIAL_ECHOPAIR(" G29 W I", (int)px + 1); - SERIAL_ECHOPAIR(" J", (int)py + 1); + SERIAL_ECHOPAIR(" G29 W I", (int)px); + SERIAL_ECHOPAIR(" J", (int)py); SERIAL_ECHOPGM(" Z"); SERIAL_PROTOCOL_F(LINEAR_UNIT(z_values[px][py]), 5); SERIAL_EOL();