mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
No need for auto_bed_leveling_was_enabled
This commit is contained in:
parent
d0796fc54c
commit
903b8bb60c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user