Skip to content

Commit

Permalink
Fix RESTORE_LEVELING_AFTER_G28 (MarlinFirmware#20471)
Browse files Browse the repository at this point in the history
  • Loading branch information
GadgetAngel authored and chrisjenda committed Apr 8, 2021
1 parent 7408763 commit 3bfa109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,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();

Expand Down

0 comments on commit 3bfa109

Please sign in to comment.