Fix: LCD displays SD status at startup
This commit is contained in:
parent
b16ea09498
commit
88540d8ecf
@ -2550,7 +2550,6 @@ void lcd_update() {
|
||||
|
||||
bool sd_status = IS_SD_INSERTED;
|
||||
if (sd_status != lcd_sd_status && lcd_detected()) {
|
||||
lcd_sd_status = sd_status;
|
||||
|
||||
if (sd_status) {
|
||||
card.initsd();
|
||||
@ -2561,6 +2560,7 @@ void lcd_update() {
|
||||
if (lcd_sd_status != 2) LCD_MESSAGEPGM(MSG_SD_REMOVED);
|
||||
}
|
||||
|
||||
lcd_sd_status = sd_status;
|
||||
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
||||
lcd_implementation_init( // to maybe revive the LCD if static electricity killed it.
|
||||
#if ENABLED(LCD_PROGRESS_BAR)
|
||||
|
Loading…
Reference in New Issue
Block a user