1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix mesh leveling compile errors (#11768)

This commit is contained in:
InsanityAutomation 2018-09-09 05:19:48 -04:00 committed by Scott Lahteine
parent 0f7d82bab1
commit bad225dc04

View File

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