mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-28 18:30:36 -07:00
🐛 Fix apply_power for SPINDLE_SERVO (#25465)
This commit is contained in:
parent
a40ff1357e
commit
aae1102c54
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue