Skip to content

Commit

Permalink
Fix tool-change servo index for E2 and up (MarlinFirmware#20060)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjasonsmith authored and W4tel-BiDi committed Apr 5, 2021
1 parent 5f108a1 commit 1193a8f
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 @@ -123,7 +123,7 @@
if (e < EXTRUDERS - 1)
#endif
{
MOVE_SERVO(_SERVO_NR(e), servo_angles[_SERVO_NR(e)][e]);
MOVE_SERVO(_SERVO_NR(e), servo_angles[_SERVO_NR(e)][e & 1]);
safe_delay(500);
}
}
Expand Down

0 comments on commit 1193a8f

Please sign in to comment.