Fix broken LEVEL_BED_CORNERS

Fix #8805
This commit is contained in:
Scott Lahteine 2018-02-23 09:13:34 -06:00
parent 8f9262f3fe
commit 65519263f4
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
}
}