mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 16:16:13 +00:00
🩹 Allow for last non-servo extruder
This commit is contained in:
parent
f4dc9d572b
commit
6e1f0be215
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue