Require homing of Z before G29
This commit is contained in:
parent
3016dfe484
commit
a9926b71a4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue