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 EvilGremlin committed May 17, 2023
1 parent 7b6e5ed commit 133558b
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 133558b

Please sign in to comment.