Move braces in homeaxis to prevent a hanging else (PR#2451)
This commit is contained in:
parent
552a327df8
commit
81d42406b7
|
@ -1764,13 +1764,13 @@ static void homeaxis(AxisEnum axis) {
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef SERVO_ENDSTOPS
|
||||
{
|
||||
{
|
||||
#ifdef SERVO_ENDSTOPS
|
||||
// Retract Servo endstop if enabled
|
||||
if (servo_endstops[axis] > -1)
|
||||
servo[servo_endstops[axis]].move(0, servo_endstop_angles[axis * 2 + 1]);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue