|
|
|
@ -50,7 +50,6 @@
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
#include "ubl.h"
|
|
|
|
|
bool ubl_lcd_map_control = false;
|
|
|
|
|
#elif HAS_ABL
|
|
|
|
|
#include "planner.h"
|
|
|
|
|
#elif ENABLED(MESH_BED_LEVELING) && ENABLED(LCD_BED_LEVELING)
|
|
|
|
@ -514,14 +513,14 @@ uint16_t max_display_update_time = 0;
|
|
|
|
|
if (screen == lcd_status_screen) {
|
|
|
|
|
defer_return_to_status = false;
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
ubl_lcd_map_control = false;
|
|
|
|
|
ubl.lcd_map_control = false;
|
|
|
|
|
#endif
|
|
|
|
|
screen_history_depth = 0;
|
|
|
|
|
}
|
|
|
|
|
lcd_implementation_clear();
|
|
|
|
|
// Re-initialize custom characters that may be re-used
|
|
|
|
|
#if DISABLED(DOGLCD) && ENABLED(AUTO_BED_LEVELING_UBL)
|
|
|
|
|
if (!ubl_lcd_map_control) {
|
|
|
|
|
if (!ubl.lcd_map_control) {
|
|
|
|
|
lcd_set_custom_characters(
|
|
|
|
|
#if ENABLED(LCD_PROGRESS_BAR)
|
|
|
|
|
screen == lcd_status_screen ? CHARSET_INFO : CHARSET_MENU
|
|
|
|
@ -2358,7 +2357,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
|
|
|
|
|
|
void _lcd_ubl_map_homing() {
|
|
|
|
|
defer_return_to_status = true;
|
|
|
|
|
ubl_lcd_map_control = true; // Return to the map screen
|
|
|
|
|
ubl.lcd_map_control = true; // Return to the map screen
|
|
|
|
|
if (lcdDrawUpdate) lcd_implementation_drawmenu_static(LCD_HEIGHT < 3 ? 0 : (LCD_HEIGHT > 4 ? 2 : 1), PSTR(MSG_LEVEL_BED_HOMING));
|
|
|
|
|
lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW;
|
|
|
|
|
if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
|
|
|
|
|