🐛 Fix apply_power for SPINDLE_SERVO (#25465)
This commit is contained in:
parent
f3f7b1e7e3
commit
dee4ef09f8
|
@ -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…
Reference in a new issue