No need for auto_bed_leveling_was_enabled
This commit is contained in:
1 parent
d0796fc54c
commit
903b8bb60c
1 file changed
+1
-2
@@ -3519,8 +3519,7 @@ inline void gcode_G28() {
|
||||
stepper.synchronize();
|
||||
|
||||
// Disable auto bed leveling during G29
|
||||
bool auto_bed_leveling_was_enabled = planner.abl_enabled,
|
||||
abl_should_reenable = auto_bed_leveling_was_enabled;
|
||||
bool abl_should_reenable = planner.abl_enabled;
|
||||
|
||||
planner.abl_enabled = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user