Fix broken LEVEL_BED_CORNERS

Fix #8805
This commit is contained in:
Scott Lahteine 2018-02-23 09:10:33 -06:00
parent 4ea058260b
commit 113a5fa80e

View File

@ -8379,7 +8379,7 @@ inline void gcode_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
}
}
@ -13397,7 +13397,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
}