|
|
@ -2714,23 +2714,23 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", stepperE0.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", stepperE0.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 1 && AXIS_IS_TMC(E1)
|
|
|
|
#if AXIS_IS_TMC(E1)
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", stepperE1.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", stepperE1.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 2 && AXIS_IS_TMC(E2)
|
|
|
|
#if AXIS_IS_TMC(E2)
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", stepperE2.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", stepperE2.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 3 && AXIS_IS_TMC(E3)
|
|
|
|
#if AXIS_IS_TMC(E3)
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", stepperE3.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", stepperE3.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 4 && AXIS_IS_TMC(E4)
|
|
|
|
#if AXIS_IS_TMC(E4)
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", stepperE4.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", stepperE4.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 5 && AXIS_IS_TMC(E5)
|
|
|
|
#if AXIS_IS_TMC(E5)
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
say_M906(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", stepperE5.getCurrent());
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", stepperE5.getCurrent());
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -2785,23 +2785,23 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", TMC_GET_PWMTHRS(E, E0));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T0 E", TMC_GET_PWMTHRS(E, E0));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 1 && AXIS_IS_TMC(E1)
|
|
|
|
#if AXIS_IS_TMC(E1)
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", TMC_GET_PWMTHRS(E, E1));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T1 E", TMC_GET_PWMTHRS(E, E1));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 2 && AXIS_IS_TMC(E2)
|
|
|
|
#if AXIS_IS_TMC(E2)
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", TMC_GET_PWMTHRS(E, E2));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T2 E", TMC_GET_PWMTHRS(E, E2));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 3 && AXIS_IS_TMC(E3)
|
|
|
|
#if AXIS_IS_TMC(E3)
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", TMC_GET_PWMTHRS(E, E3));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T3 E", TMC_GET_PWMTHRS(E, E3));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 4 && AXIS_IS_TMC(E4)
|
|
|
|
#if AXIS_IS_TMC(E4)
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", TMC_GET_PWMTHRS(E, E4));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T4 E", TMC_GET_PWMTHRS(E, E4));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if E_STEPPERS > 5 && AXIS_IS_TMC(E5)
|
|
|
|
#if AXIS_IS_TMC(E5)
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
say_M913(PORTVAR_SOLO);
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", TMC_GET_PWMTHRS(E, E5));
|
|
|
|
SERIAL_ECHOLNPAIR_P(port, " T5 E", TMC_GET_PWMTHRS(E, E5));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|