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 thinkyhead committed Apr 7, 2023
1 parent a40ff13 commit aae1102
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 aae1102

Please sign in to comment.