Require homing of Z before G29
This commit is contained in:
parent
3016dfe484
commit
a9926b71a4
|
@ -3176,7 +3176,7 @@ inline void gcode_G28() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Don't allow auto-leveling without homing first
|
// 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();
|
axis_unhomed_error();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue