🩹 Allow for last non-servo extruder
This commit is contained in:
parent
9a4715f31a
commit
1540e8e1d4
@ -115,7 +115,8 @@
|
||||
|
||||
void move_extruder_servo(const uint8_t e) {
|
||||
planner.synchronize();
|
||||
if (e < EXTRUDERS) {
|
||||
constexpr bool evenExtruders = !(EXTRUDERS & 1);
|
||||
if (evenExtruders || e < EXTRUDERS - 1) {
|
||||
servo[_SERVO_NR(e)].move(servo_angles[_SERVO_NR(e)][e & 1]);
|
||||
safe_delay(500);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user