Fix G34 compile with bed leveling disabled (#20537)
This commit is contained in:
parent
3ec59b36eb
commit
0d95f67f2e
@ -41,8 +41,9 @@ void GcodeSuite::G34() {
|
|||||||
// Home before the alignment procedure
|
// Home before the alignment procedure
|
||||||
if (!all_axes_trusted()) home_all_axes();
|
if (!all_axes_trusted()) home_all_axes();
|
||||||
|
|
||||||
|
TERN_(HAS_LEVELING, TEMPORARY_BED_LEVELING_STATE(false));
|
||||||
|
|
||||||
SET_SOFT_ENDSTOP_LOOSE(true);
|
SET_SOFT_ENDSTOP_LOOSE(true);
|
||||||
TEMPORARY_BED_LEVELING_STATE(false);
|
|
||||||
TemporaryGlobalEndstopsState unlock_z(false);
|
TemporaryGlobalEndstopsState unlock_z(false);
|
||||||
|
|
||||||
#ifdef GANTRY_CALIBRATION_COMMANDS_PRE
|
#ifdef GANTRY_CALIBRATION_COMMANDS_PRE
|
||||||
|
Loading…
Reference in New Issue
Block a user