G28 followup

This commit is contained in:
Scott Lahteine 2020-12-05 23:05:03 -06:00 committed by Scott Lahteine
parent 107834f899
commit 3a73f04fd3

View File

@ -435,6 +435,8 @@ void GcodeSuite::G28() {
do_blocking_move_to_z(delta_clip_start_height); do_blocking_move_to_z(delta_clip_start_height);
#endif #endif
TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_was_active));
restore_feedrate_and_scaling(); restore_feedrate_and_scaling();
// Restore the active tool after homing // Restore the active tool after homing
@ -458,8 +460,6 @@ void GcodeSuite::G28() {
#endif #endif
#endif #endif
TERN_(HAS_LEVELING, set_bed_leveling_enabled(leveling_restore_state));
ui.refresh(); ui.refresh();
TERN_(DWIN_CREALITY_LCD, DWIN_CompletedHoming()); TERN_(DWIN_CREALITY_LCD, DWIN_CompletedHoming());