1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

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.
This commit is contained in:
Scott Lahteine 2017-01-12 04:37:23 -08:00 committed by GitHub
parent f8ae0fd29f
commit fb3c30e24c

View File

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