From fb3c30e24cf2ffc4b0e3109c1fd24f2a8dc4b84d Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 12 Jan 2017 04:37:23 -0800 Subject: [PATCH] Fix lcd_wait_for_homing causing menu to block As a showcase function for how to do waiting in the lcd menu, this function should be preserved. --- Marlin/ultralcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index cc4e229b0b..dc7bbba753 100755 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -444,7 +444,7 @@ uint16_t max_display_update_time = 0; inline void lcd_wait_for_homing() { no_reentrance = true; while (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) idle(); - no_reentrance = true; + no_reentrance = false; } void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }