mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 21:36:21 +00:00
Merge pull request #9068 from Bob-the-Kuhn/SD-detect
[2.0.x] SD card detect improvement
This commit is contained in:
commit
cb0e826c5d
@ -4950,6 +4950,7 @@ void lcd_update() {
|
||||
if (sd_status != lcd_sd_status && lcd_detected()) {
|
||||
|
||||
if (sd_status) {
|
||||
safe_delay(1000); // some boards need a delay or the LCD won't show the new status
|
||||
card.initsd();
|
||||
if (lcd_sd_status != 2) LCD_MESSAGEPGM(MSG_SD_INSERTED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user