|
@@ -773,7 +773,7 @@ void MarlinSettings::postprocess() {
|
773
|
773
|
0,
|
774
|
774
|
#endif
|
775
|
775
|
#if MAX_EXTRUDERS > 3
|
776
|
|
- #if AXIS_IS_TMC(E3)
|
|
776
|
+ #if AXIS_IS_TMC(E3)
|
777
|
777
|
stepperE3.getCurrent(),
|
778
|
778
|
#else
|
779
|
779
|
0,
|
|
@@ -2714,23 +2714,23 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2714
|
2714
|
say_M906(PORTVAR_SOLO);
|
2715
|
2715
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", stepperE0.getCurrent());
|
2716
|
2716
|
#endif
|
2717
|
|
- #if E_STEPPERS > 1 && AXIS_IS_TMC(E1)
|
|
2717
|
+ #if AXIS_IS_TMC(E1)
|
2718
|
2718
|
say_M906(PORTVAR_SOLO);
|
2719
|
2719
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", stepperE1.getCurrent());
|
2720
|
2720
|
#endif
|
2721
|
|
- #if E_STEPPERS > 2 && AXIS_IS_TMC(E2)
|
|
2721
|
+ #if AXIS_IS_TMC(E2)
|
2722
|
2722
|
say_M906(PORTVAR_SOLO);
|
2723
|
2723
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", stepperE2.getCurrent());
|
2724
|
2724
|
#endif
|
2725
|
|
- #if E_STEPPERS > 3 && AXIS_IS_TMC(E3)
|
|
2725
|
+ #if AXIS_IS_TMC(E3)
|
2726
|
2726
|
say_M906(PORTVAR_SOLO);
|
2727
|
2727
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", stepperE3.getCurrent());
|
2728
|
2728
|
#endif
|
2729
|
|
- #if E_STEPPERS > 4 && AXIS_IS_TMC(E4)
|
|
2729
|
+ #if AXIS_IS_TMC(E4)
|
2730
|
2730
|
say_M906(PORTVAR_SOLO);
|
2731
|
2731
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", stepperE4.getCurrent());
|
2732
|
2732
|
#endif
|
2733
|
|
- #if E_STEPPERS > 5 && AXIS_IS_TMC(E5)
|
|
2733
|
+ #if AXIS_IS_TMC(E5)
|
2734
|
2734
|
say_M906(PORTVAR_SOLO);
|
2735
|
2735
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", stepperE5.getCurrent());
|
2736
|
2736
|
#endif
|
|
@@ -2785,23 +2785,23 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2785
|
2785
|
say_M913(PORTVAR_SOLO);
|
2786
|
2786
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", TMC_GET_PWMTHRS(E, E0));
|
2787
|
2787
|
#endif
|
2788
|
|
- #if E_STEPPERS > 1 && AXIS_IS_TMC(E1)
|
|
2788
|
+ #if AXIS_IS_TMC(E1)
|
2789
|
2789
|
say_M913(PORTVAR_SOLO);
|
2790
|
2790
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", TMC_GET_PWMTHRS(E, E1));
|
2791
|
2791
|
#endif
|
2792
|
|
- #if E_STEPPERS > 2 && AXIS_IS_TMC(E2)
|
|
2792
|
+ #if AXIS_IS_TMC(E2)
|
2793
|
2793
|
say_M913(PORTVAR_SOLO);
|
2794
|
2794
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", TMC_GET_PWMTHRS(E, E2));
|
2795
|
2795
|
#endif
|
2796
|
|
- #if E_STEPPERS > 3 && AXIS_IS_TMC(E3)
|
|
2796
|
+ #if AXIS_IS_TMC(E3)
|
2797
|
2797
|
say_M913(PORTVAR_SOLO);
|
2798
|
2798
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", TMC_GET_PWMTHRS(E, E3));
|
2799
|
2799
|
#endif
|
2800
|
|
- #if E_STEPPERS > 4 && AXIS_IS_TMC(E4)
|
|
2800
|
+ #if AXIS_IS_TMC(E4)
|
2801
|
2801
|
say_M913(PORTVAR_SOLO);
|
2802
|
2802
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", TMC_GET_PWMTHRS(E, E4));
|
2803
|
2803
|
#endif
|
2804
|
|
- #if E_STEPPERS > 5 && AXIS_IS_TMC(E5)
|
|
2804
|
+ #if AXIS_IS_TMC(E5)
|
2805
|
2805
|
say_M913(PORTVAR_SOLO);
|
2806
|
2806
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", TMC_GET_PWMTHRS(E, E5));
|
2807
|
2807
|
#endif
|