🩹 Motor PWM followup (#27087)

Followup to 08fe8a3076
This commit is contained in:
ellensp
2024-05-13 10:31:02 +12:00
committed by GitHub
parent 556616c4f0
commit 909e3ad116

View File

@@ -3973,7 +3973,7 @@ void Stepper::report_positions() {
#endif
break;
case 2:
#if HAS_MOTOR_CURRENT_PWM_E
#if PIN_EXISTS(MOTOR_CURRENT_PWM_E)
_WRITE_CURRENT_PWM(E);
#endif
#if PIN_EXISTS(MOTOR_CURRENT_PWM_E0)
@@ -4036,7 +4036,7 @@ void Stepper::report_positions() {
#if PIN_EXISTS(MOTOR_CURRENT_PWM_Z)
INIT_CURRENT_PWM(Z);
#endif
#if HAS_MOTOR_CURRENT_PWM_E
#if PIN_EXISTS(MOTOR_CURRENT_PWM_E)
INIT_CURRENT_PWM(E);
#endif
#if PIN_EXISTS(MOTOR_CURRENT_PWM_E0)