Browse Source

Fixes #3262

Make sure to call lcd_timeoutToStatus.start() when the SD card is inserted
into the printer after it was removed beforehand.

(cherry picked from commit 6795843f153aa064f087f80990419a946cdfe857)
Guðni Már Gilbert 3 years ago
parent
commit
be79e3791f
2 changed files with 1 additions and 1 deletions
  1. 0 1
      Firmware/cardreader.cpp
  2. 1 0
      Firmware/ultralcd.cpp

+ 0 - 1
Firmware/cardreader.cpp

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

+ 1 - 0
Firmware/ultralcd.cpp

@@ -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
 		{