diff --git a/Marlin/src/gcode/calibrate/M666.cpp b/Marlin/src/gcode/calibrate/M666.cpp index e1e573af9072..98efeccc76c5 100644 --- a/Marlin/src/gcode/calibrate/M666.cpp +++ b/Marlin/src/gcode/calibrate/M666.cpp @@ -76,7 +76,7 @@ const int ind = parser.intval('S'); if (!ind || ind == 2) endstops.z2_endstop_adj = z_adj; if (!ind || ind == 3) endstops.z3_endstop_adj = z_adj; - #if ENABLED(ENABLED(Z_QUAD_ENDSTOPS)) + #if ENABLED(Z_QUAD_ENDSTOPS) if (!ind || ind == 4) endstops.z4_endstop_adj = z_adj; #endif }