Browse Source

🐛 Fix move_extruder_servo (#24908)

ellensp 2 years ago
parent
commit
f4dc9d572b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/tool_change.cpp

+ 1
- 1
Marlin/src/module/tool_change.cpp View File

115
 
115
 
116
   void move_extruder_servo(const uint8_t e) {
116
   void move_extruder_servo(const uint8_t e) {
117
     planner.synchronize();
117
     planner.synchronize();
118
-    if ((EXTRUDERS & 1) && e < EXTRUDERS - 1) {
118
+    if (e < EXTRUDERS) {
119
       servo[_SERVO_NR(e)].move(servo_angles[_SERVO_NR(e)][e & 1]);
119
       servo[_SERVO_NR(e)].move(servo_angles[_SERVO_NR(e)][e & 1]);
120
       safe_delay(500);
120
       safe_delay(500);
121
     }
121
     }

Loading…
Cancel
Save