|
@@ -1677,11 +1677,9 @@ static void homeaxis(AxisEnum axis) {
|
1677
|
1677
|
#endif
|
1678
|
1678
|
|
1679
|
1679
|
#ifdef SERVO_ENDSTOPS
|
1680
|
|
- if (axis != Z_AXIS) {
|
1681
|
|
- // Engage Servo endstop if enabled
|
1682
|
|
- if (servo_endstops[axis] >= 0)
|
1683
|
|
- servo[servo_endstops[axis]].move(servo_endstop_angles[axis * 2]);
|
1684
|
|
- }
|
|
1680
|
+ // Engage Servo endstop if enabled
|
|
1681
|
+ if (axis != Z_AXIS && servo_endstops[axis] >= 0)
|
|
1682
|
+ servo[servo_endstops[axis]].move(servo_endstop_angles[axis][0]);
|
1685
|
1683
|
#endif
|
1686
|
1684
|
|
1687
|
1685
|
// Set a flag for Z motor locking
|