Move braces in homeaxis to prevent a hanging else (PR#2451)

master
Scott Lahteine 9 years ago committed by Richard Wackerbarth
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…
Cancel
Save