No need for auto_bed_leveling_was_enabled

master
Scott Lahteine 8 years ago committed by GitHub
parent d0796fc54c
commit 903b8bb60c

@ -3519,8 +3519,7 @@ inline void gcode_G28() {
stepper.synchronize(); stepper.synchronize();
// Disable auto bed leveling during G29 // Disable auto bed leveling during G29
bool auto_bed_leveling_was_enabled = planner.abl_enabled, bool abl_should_reenable = planner.abl_enabled;
abl_should_reenable = auto_bed_leveling_was_enabled;
planner.abl_enabled = false; planner.abl_enabled = false;

Loading…
Cancel
Save