Skip to content
Snippets Groups Projects
Commit 3bb76b25 authored by Scott Lahteine's avatar Scott Lahteine Committed by GitHub
Browse files

Merge pull request #5363 from thinkyhead/rc_fix_hotend_offset_M503

Fix hotend offset report in M503
parents 7273a18c 255ed801
No related branches found
No related tags found
No related merge requests found
...@@ -786,10 +786,10 @@ void Config_ResetDefault() { ...@@ -786,10 +786,10 @@ void Config_ResetDefault() {
} }
for (uint8_t e = 1; e < HOTENDS; e++) { for (uint8_t e = 1; e < HOTENDS; e++) {
SERIAL_ECHOPAIR(" M218 T", (int)e); SERIAL_ECHOPAIR(" M218 T", (int)e);
SERIAL_ECHOPAIR(" X", hotend_offset[X_AXIS]); SERIAL_ECHOPAIR(" X", hotend_offset[X_AXIS][e]);
SERIAL_ECHOPAIR(" Y", hotend_offset[Y_AXIS]); SERIAL_ECHOPAIR(" Y", hotend_offset[Y_AXIS][e]);
#if ENABLED(DUAL_X_CARRIAGE) || ENABLED(SWITCHING_EXTRUDER) #if ENABLED(DUAL_X_CARRIAGE) || ENABLED(SWITCHING_EXTRUDER)
SERIAL_ECHOPAIR(" Z", hotend_offset[Z_AXIS]); SERIAL_ECHOPAIR(" Z", hotend_offset[Z_AXIS][e]);
#endif #endif
SERIAL_EOL; SERIAL_EOL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment