Skip to content

Commit

Permalink
🐛 Fix apply_power for SPINDLE_SERVO (MarlinFirmware#25465)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcebke authored and LMBernardo committed Mar 19, 2023
1 parent 5983e2e commit 9018403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/feature/spindle_laser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void SpindleLaser::apply_power(const uint8_t opwr) {
else
ocr_off();
#elif ENABLED(SPINDLE_SERVO)
MOVE_SERVO(SPINDLE_SERVO_NR, power);
servo[SPINDLE_SERVO_NR].move(opwr);
#else
WRITE(SPINDLE_LASER_ENA_PIN, enabled() ? SPINDLE_LASER_ACTIVE_STATE : !SPINDLE_LASER_ACTIVE_STATE);
isReadyForUI = true;
Expand Down

0 comments on commit 9018403

Please sign in to comment.