diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 2efac9fd1c..26bed52941 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -1596,12 +1596,11 @@ static void homeaxis(AxisEnum axis) { if (axis == Z_AXIS) { if (axis_home_dir < 0) deploy_z_probe(); } - else #endif #ifdef SERVO_ENDSTOPS - { + if (axis != Z_AXIS) { // Engage Servo endstop if enabled if (servo_endstops[axis] > -1) servo[servo_endstops[axis]].write(servo_endstop_angles[axis * 2]);