From a9926b71a461f2bc800207ab7b9df275c1e0c833 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 17 May 2016 16:57:12 -0700 Subject: [PATCH] Require homing of Z before G29 --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index e0191a292..4ae097833 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3176,7 +3176,7 @@ inline void gcode_G28() { #endif // Don't allow auto-leveling without homing first - if (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS]) { + if (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) { axis_unhomed_error(); return; }