Skip to content

Commit a7dfe4b

Browse files
authored
Merge pull request prusa3d#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
2 parents 3228f9d + be79e37 commit a7dfe4b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Firmware/cardreader.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,6 @@ void CardReader::presort() {
10301030

10311031
lcd_update(2);
10321032
KEEPALIVE_STATE(NOT_BUSY);
1033-
lcd_timeoutToStatus.start();
10341033
}
10351034

10361035
void CardReader::flush_presort() {

Firmware/ultralcd.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -8939,6 +8939,7 @@ void menu_lcd_lcdupdate_func(void)
89398939
LCD_MESSAGERPGM(_T(WELCOME_MSG));
89408940
bMain=false; // flag (i.e. 'fake parameter') for 'lcd_sdcard_menu()' function
89418941
menu_submenu(lcd_sdcard_menu);
8942+
lcd_timeoutToStatus.start();
89428943
}
89438944
else
89448945
{

0 commit comments

Comments
 (0)