Browse Source

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

pull/1/head
Scott Lahteine 9 years ago
committed by Richard Wackerbarth
parent
commit
81d42406b7
  1. 8
      Marlin/Marlin_main.cpp

8
Marlin/Marlin_main.cpp

@ -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