Skip to content

Commit

Permalink
🐛 Fix move_extruder_servo (MarlinFirmware#24908)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored Oct 24, 2022
1 parent 81f88fe commit f4dc9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/tool_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f4dc9d5

Please sign in to comment.