🐛 Fix move_extruder_servo (#24908)

This commit is contained in:
ellensp 2022-10-25 10:47:23 +13:00 committed by GitHub
parent 81f88fefdc
commit f4dc9d572b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}