Browse Source

Fix broken LEVEL_BED_CORNERS

Fix #8805
pull/1/head
Scott Lahteine 7 years ago
parent
commit
65519263f4
  1. 2
      Marlin/src/Marlin.cpp
  2. 2
      Marlin/src/gcode/control/M17_M18_M84.cpp

2
Marlin/src/Marlin.cpp

@ -360,7 +360,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
disable_e_steppers();
#endif
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL) // Only needed with an LCD
ubl.lcd_map_control = defer_return_to_status = false;
if (ubl.lcd_map_control) ubl.lcd_map_control = defer_return_to_status = false;
#endif
}

2
Marlin/src/gcode/control/M17_M18_M84.cpp

@ -60,7 +60,7 @@ void GcodeSuite::M18_M84() {
}
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL) // Only needed with an LCD
ubl.lcd_map_control = defer_return_to_status = false;
if (ubl.lcd_map_control) ubl.lcd_map_control = defer_return_to_status = false;
#endif
}
}

Loading…
Cancel
Save