0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-17 06:48:05 +00:00

🐛 Fix move_extruder_servo (#24908)

This commit is contained in:
ellensp 2022-10-25 10:47:23 +13:00 committed by Scott Lahteine
parent a9969d92ea
commit 9a4715f31a

View file

@ -115,7 +115,7 @@
void move_extruder_servo(const uint8_t e) {
planner.synchronize();
if ((EXTRUDERS & 1) && e < EXTRUDERS - 1) {
if (e < EXTRUDERS) {
servo[_SERVO_NR(e)].move(servo_angles[_SERVO_NR(e)][e & 1]);
safe_delay(500);
}