Merge pull request #3305 from gudnimg/sd-card-lcdtimer-fix-gudni-v2

Fix issue when the SD card is inserted and the file menu may sometimes close immediately due to a timeout
This commit is contained in:
DRracer 2021-11-19 07:23:21 +01:00 committed by GitHub
commit a7dfe4b523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -1030,7 +1030,6 @@ void CardReader::presort() {
lcd_update(2);
KEEPALIVE_STATE(NOT_BUSY);
lcd_timeoutToStatus.start();
}
void CardReader::flush_presort() {

View File

@ -8939,6 +8939,7 @@ void menu_lcd_lcdupdate_func(void)
LCD_MESSAGERPGM(_T(WELCOME_MSG));
bMain=false; // flag (i.e. 'fake parameter') for 'lcd_sdcard_menu()' function
menu_submenu(lcd_sdcard_menu);
lcd_timeoutToStatus.start();
}
else
{