Merge pull request #9067 from MarlinFirmware/SD-detect
[bugfix-1.1.x] SD card detect fix
This commit is contained in:
commit
0b5b2a424c
@ -4943,6 +4943,7 @@ void lcd_update() {
|
|||||||
if (sd_status != lcd_sd_status && lcd_detected()) {
|
if (sd_status != lcd_sd_status && lcd_detected()) {
|
||||||
|
|
||||||
if (sd_status) {
|
if (sd_status) {
|
||||||
|
safe_delay(1000); // some boards need a delay or the LCD won't show the new status
|
||||||
card.initsd();
|
card.initsd();
|
||||||
if (lcd_sd_status != 2) LCD_MESSAGEPGM(MSG_SD_INSERTED);
|
if (lcd_sd_status != 2) LCD_MESSAGEPGM(MSG_SD_INSERTED);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user