Fix RESTORE_LEVELING_AFTER_G28 (#20471)

This commit is contained in:
JoAnn Manges 2020-12-15 01:16:50 -05:00 committed by Scott Lahteine
parent 46d2dc9bee
commit 878305671b

View File

@ -435,7 +435,7 @@ void GcodeSuite::G28() {
do_blocking_move_to_z(delta_clip_start_height);
#endif
TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_was_active));
TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_restore_state));
restore_feedrate_and_scaling();