Browse Source

Fix mesh leveling compile errors (#11768)

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
bad225dc04
  1. 3
      Marlin/src/gcode/calibrate/G28.cpp

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

@ -207,6 +207,7 @@ void GcodeSuite::G28(const bool always_home_all) {
// Cancel the active G29 session // Cancel the active G29 session
#if ENABLED(PROBE_MANUALLY) #if ENABLED(PROBE_MANUALLY)
extern bool g29_in_progress;
g29_in_progress = false; g29_in_progress = false;
#endif #endif
@ -397,7 +398,7 @@ void GcodeSuite::G28(const bool always_home_all) {
do_blocking_move_to_z(delta_clip_start_height); do_blocking_move_to_z(delta_clip_start_height);
#endif #endif
#if ENABLED(RESTORE_LEVELING_AFTER_G28) #if HAS_LEVELING && ENABLED(RESTORE_LEVELING_AFTER_G28)
set_bed_leveling_enabled(leveling_was_active); set_bed_leveling_enabled(leveling_was_active);
#endif #endif

Loading…
Cancel
Save