Skip to content

Commit dee4ef0

Browse files
authored
🐛 Fix apply_power for SPINDLE_SERVO (#25465)
1 parent f3f7b1e commit dee4ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/feature/spindle_laser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void SpindleLaser::apply_power(const uint8_t opwr) {
141141
else
142142
ocr_off();
143143
#elif ENABLED(SPINDLE_SERVO)
144-
MOVE_SERVO(SPINDLE_SERVO_NR, power);
144+
servo[SPINDLE_SERVO_NR].move(opwr);
145145
#else
146146
WRITE(SPINDLE_LASER_ENA_PIN, enabled() ? SPINDLE_LASER_ACTIVE_STATE : !SPINDLE_LASER_ACTIVE_STATE);
147147
isReadyForUI = true;

0 commit comments

Comments
 (0)