Require homing of Z before G29

This commit is contained in:
Scott Lahteine 2016-05-17 16:57:12 -07:00
parent 3016dfe484
commit a9926b71a4

View File

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