From 5c1aa5162d9b7dad67899aa2514995ee99efcdf9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 15 Mar 2019 19:18:34 -0500 Subject: [PATCH] Adjust M206 output in M503 for DELTA --- Marlin/src/module/configuration_store.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Marlin/src/module/configuration_store.cpp b/Marlin/src/module/configuration_store.cpp index b60935184..46cb4c831 100644 --- a/Marlin/src/module/configuration_store.cpp +++ b/Marlin/src/module/configuration_store.cpp @@ -2474,10 +2474,12 @@ void MarlinSettings::reset() { #if HAS_M206_COMMAND CONFIG_ECHO_HEADING("Home offset:"); CONFIG_ECHO_START(); - SERIAL_ECHOLNPAIR( - " M206 X", LINEAR_UNIT(home_offset[X_AXIS]) - , " Y", LINEAR_UNIT(home_offset[Y_AXIS]) - , " Z", LINEAR_UNIT(home_offset[Z_AXIS]) + SERIAL_ECHOLNPAIR(" M206" + #if IS_CARTESIAN + " X", LINEAR_UNIT(home_offset[X_AXIS]), + " Y", LINEAR_UNIT(home_offset[Y_AXIS]), + #endif + " Z", LINEAR_UNIT(home_offset[Z_AXIS]) ); #endif