Browse Source

Minor cleanup of set_bed_leveling_enabled

pull/1/head
Scott Lahteine 8 years ago
parent
commit
a10e81dc2a
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -2225,8 +2225,8 @@ static void clean_up_after_endstop_or_probe_move() {
#elif HAS_ABL #elif HAS_ABL
if (enable != planner.abl_enabled) { if (enable != planner.abl_enabled) {
planner.abl_enabled = !planner.abl_enabled; planner.abl_enabled = enable;
if (!planner.abl_enabled) if (!enable)
set_current_from_steppers_for_axis( set_current_from_steppers_for_axis(
#if ABL_PLANAR #if ABL_PLANAR
ALL_AXES ALL_AXES

Loading…
Cancel
Save