Always enable leveling after G28
This commit is contained in:
committed by
Scott Lahteine
parent
20bd54f6d3
commit
e6b3c74069
@ -241,7 +241,7 @@ void GcodeSuite::G28() {
|
||||
|
||||
// Disable the leveling matrix before homing
|
||||
#if HAS_LEVELING
|
||||
TERN_(RESTORE_LEVELING_AFTER_G28, const bool leveling_was_active = planner.leveling_active);
|
||||
const bool leveling_restore_state = ENABLED(ENABLE_LEVELING_AFTER_G28) || TERN0(RESTORE_LEVELING_AFTER_G28, planner.leveling_active);
|
||||
TERN_(PROBE_MANUALLY, g29_in_progress = false); // Cancel the active G29 session
|
||||
set_bed_leveling_enabled(false);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user