mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 14:24:34 +00:00
Minor cleanup of set_bed_leveling_enabled
This commit is contained in:
parent
029824bc49
commit
a10e81dc2a
@ -2225,8 +2225,8 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||
#elif HAS_ABL
|
||||
|
||||
if (enable != planner.abl_enabled) {
|
||||
planner.abl_enabled = !planner.abl_enabled;
|
||||
if (!planner.abl_enabled)
|
||||
planner.abl_enabled = enable;
|
||||
if (!enable)
|
||||
set_current_from_steppers_for_axis(
|
||||
#if ABL_PLANAR
|
||||
ALL_AXES
|
||||
|
Loading…
Reference in New Issue
Block a user