Skip to content

Commit

Permalink
🩹 Motor PWM followup (MarlinFirmware#27087)
Browse files Browse the repository at this point in the history
Followup to 08fe8a3
  • Loading branch information
ellensp authored May 12, 2024
1 parent 556616c commit 909e3ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 909e3ad

Please sign in to comment.