From 39401b7472e4d43332180edf6d04ee08447c3c41 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 11 Dec 2016 17:37:29 -0800 Subject: [PATCH] Patch to show E factors 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 66cdcd0257..49ae99649c 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -749,7 +749,7 @@ void Config_ResetDefault() { SERIAL_ECHOPAIR(" M92 X", planner.axis_steps_per_mm[X_AXIS]); SERIAL_ECHOPAIR(" Y", planner.axis_steps_per_mm[Y_AXIS]); SERIAL_ECHOPAIR(" Z", planner.axis_steps_per_mm[Z_AXIS]); - #if E_STEPPERS == 1 + #if DISABLED(DISTINCT_E_FACTORS) SERIAL_ECHOPAIR(" E", planner.axis_steps_per_mm[E_AXIS]); #endif SERIAL_EOL; @@ -769,7 +769,7 @@ void Config_ResetDefault() { SERIAL_ECHOPAIR(" M203 X", planner.max_feedrate_mm_s[X_AXIS]); SERIAL_ECHOPAIR(" Y", planner.max_feedrate_mm_s[Y_AXIS]); SERIAL_ECHOPAIR(" Z", planner.max_feedrate_mm_s[Z_AXIS]); - #if E_STEPPERS == 1 + #if DISABLED(DISTINCT_E_FACTORS) SERIAL_ECHOPAIR(" E", planner.max_feedrate_mm_s[E_AXIS]); #endif SERIAL_EOL; @@ -788,7 +788,7 @@ void Config_ResetDefault() { SERIAL_ECHOPAIR(" M201 X", planner.max_acceleration_mm_per_s2[X_AXIS]); SERIAL_ECHOPAIR(" Y", planner.max_acceleration_mm_per_s2[Y_AXIS]); SERIAL_ECHOPAIR(" Z", planner.max_acceleration_mm_per_s2[Z_AXIS]); - #if E_STEPPERS == 1 + #if DISABLED(DISTINCT_E_FACTORS) SERIAL_ECHOPAIR(" E", planner.max_acceleration_mm_per_s2[E_AXIS]); #endif SERIAL_EOL;