0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-03-15 02:36:19 +00:00

🩹 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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)