Browse Source

Fix G34 compile with bed leveling disabled (#20537)

vanilla_fb_2.0.x
cr20-123 4 years ago
committed by GitHub
parent
commit
0d95f67f2e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/gcode/calibrate/G34.cpp

3
Marlin/src/gcode/calibrate/G34.cpp

@ -41,8 +41,9 @@ void GcodeSuite::G34() {
// Home before the alignment procedure
if (!all_axes_trusted()) home_all_axes();
TERN_(HAS_LEVELING, TEMPORARY_BED_LEVELING_STATE(false));
SET_SOFT_ENDSTOP_LOOSE(true);
TEMPORARY_BED_LEVELING_STATE(false);
TemporaryGlobalEndstopsState unlock_z(false);
#ifdef GANTRY_CALIBRATION_COMMANDS_PRE

Loading…
Cancel
Save