From f1327fd5f90e0b0fc9d4f808266f4c1b4ff5d8ae Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 14 Mar 2018 00:50:15 -0500 Subject: [PATCH] Use lcd_goto_previous_menu_no_defer more --- Marlin/src/lcd/ultralcd.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index b2ceb71b7b..56255fb959 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -1841,9 +1841,8 @@ void kill_screen(const char* lcd_msg) { line_to_z(Z_MIN_POS + MANUAL_PROBE_HEIGHT); lcd_synchronize(PSTR(MSG_LEVEL_BED_DONE)); #endif - lcd_goto_previous_menu(); + lcd_goto_previous_menu_no_defer(); lcd_completion_feedback(); - defer_return_to_status = false; } if (lcdDrawUpdate) lcd_implementation_drawmenu_static(LCD_HEIGHT >= 4 ? 1 : 0, PSTR(MSG_LEVEL_BED_DONE)); lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; @@ -2907,7 +2906,7 @@ void kill_screen(const char* lcd_msg) { */ void _lcd_move_xyz(const char* name, AxisEnum axis) { - if (use_click()) { return lcd_goto_previous_menu(); } + if (use_click()) { return lcd_goto_previous_menu_no_defer(); } ENCODER_DIRECTION_NORMAL(); if (encoderPosition && !processing_manual_move) { gcode.refresh_cmd_timeout(); @@ -2990,7 +2989,7 @@ void kill_screen(const char* lcd_msg) { const int8_t eindex=-1 #endif ) { - if (use_click()) { return lcd_goto_previous_menu(); } + if (use_click()) { return lcd_goto_previous_menu_no_defer(); } ENCODER_DIRECTION_NORMAL(); if (encoderPosition) { if (!processing_manual_move) {