From 255ed80164968337c960edbbce025409264bfce9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 3 Dec 2016 10:17:35 -0600 Subject: [PATCH] Fix hotend offset report in M503 --- Marlin/configuration_store.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index d6bc2bee1..f1f898c4a 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -786,10 +786,10 @@ void Config_ResetDefault() { } for (uint8_t e = 1; e < HOTENDS; e++) { SERIAL_ECHOPAIR(" M218 T", (int)e); - SERIAL_ECHOPAIR(" X", hotend_offset[X_AXIS]); - SERIAL_ECHOPAIR(" Y", hotend_offset[Y_AXIS]); + SERIAL_ECHOPAIR(" X", hotend_offset[X_AXIS][e]); + SERIAL_ECHOPAIR(" Y", hotend_offset[Y_AXIS][e]); #if ENABLED(DUAL_X_CARRIAGE) || ENABLED(SWITCHING_EXTRUDER) - SERIAL_ECHOPAIR(" Z", hotend_offset[Z_AXIS]); + SERIAL_ECHOPAIR(" Z", hotend_offset[Z_AXIS][e]); #endif SERIAL_EOL; }