Browse Source

Merge pull request #5471 from thinkyhead/rc_planner_report_m503

Patch to show E factors in M503
Scott Lahteine 7 years ago
parent
commit
7c71bb2900
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/configuration_store.cpp

+ 3
- 3
Marlin/configuration_store.cpp View File

@@ -749,7 +749,7 @@ void Config_ResetDefault() {
749 749
     SERIAL_ECHOPAIR("  M92 X", planner.axis_steps_per_mm[X_AXIS]);
750 750
     SERIAL_ECHOPAIR(" Y", planner.axis_steps_per_mm[Y_AXIS]);
751 751
     SERIAL_ECHOPAIR(" Z", planner.axis_steps_per_mm[Z_AXIS]);
752
-    #if E_STEPPERS == 1
752
+    #if DISABLED(DISTINCT_E_FACTORS)
753 753
       SERIAL_ECHOPAIR(" E", planner.axis_steps_per_mm[E_AXIS]);
754 754
     #endif
755 755
     SERIAL_EOL;
@@ -769,7 +769,7 @@ void Config_ResetDefault() {
769 769
     SERIAL_ECHOPAIR("  M203 X", planner.max_feedrate_mm_s[X_AXIS]);
770 770
     SERIAL_ECHOPAIR(" Y", planner.max_feedrate_mm_s[Y_AXIS]);
771 771
     SERIAL_ECHOPAIR(" Z", planner.max_feedrate_mm_s[Z_AXIS]);
772
-    #if E_STEPPERS == 1
772
+    #if DISABLED(DISTINCT_E_FACTORS)
773 773
       SERIAL_ECHOPAIR(" E", planner.max_feedrate_mm_s[E_AXIS]);
774 774
     #endif
775 775
     SERIAL_EOL;
@@ -788,7 +788,7 @@ void Config_ResetDefault() {
788 788
     SERIAL_ECHOPAIR("  M201 X", planner.max_acceleration_mm_per_s2[X_AXIS]);
789 789
     SERIAL_ECHOPAIR(" Y", planner.max_acceleration_mm_per_s2[Y_AXIS]);
790 790
     SERIAL_ECHOPAIR(" Z", planner.max_acceleration_mm_per_s2[Z_AXIS]);
791
-    #if E_STEPPERS == 1
791
+    #if DISABLED(DISTINCT_E_FACTORS)
792 792
       SERIAL_ECHOPAIR(" E", planner.max_acceleration_mm_per_s2[E_AXIS]);
793 793
     #endif
794 794
     SERIAL_EOL;

Loading…
Cancel
Save