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 W4tel-BiDi committed Apr 5, 2021
1 parent e8ff918 commit cd1c933
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 @@ -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();

Expand Down

0 comments on commit cd1c933

Please sign in to comment.