Fix RESTORE_LEVELING_AFTER_G28 (#20471)

This commit is contained in:
JoAnn Manges 2020-12-15 01:16:50 -05:00 committed by GitHub
parent 69999f962a
commit 1be16e3d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ 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)); TERN_(RESTORE_LEVELING_AFTER_G28, set_bed_leveling_enabled(leveling_restore_state));
restore_feedrate_and_scaling(); restore_feedrate_and_scaling();