Browse Source

Merge pull request #9068 from Bob-the-Kuhn/SD-detect

[2.0.x] SD card detect improvement
Bob-the-Kuhn 7 years ago
parent
commit
cb0e826c5d
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/lcd/ultralcd.cpp

+ 1
- 0
Marlin/src/lcd/ultralcd.cpp View File

@@ -4950,6 +4950,7 @@ void lcd_update() {
4950 4950
     if (sd_status != lcd_sd_status && lcd_detected()) {
4951 4951
 
4952 4952
       if (sd_status) {
4953
+        safe_delay(1000); // some boards need a delay or the LCD won't show the new status
4953 4954
         card.initsd();
4954 4955
         if (lcd_sd_status != 2) LCD_MESSAGEPGM(MSG_SD_INSERTED);
4955 4956
       }

Loading…
Cancel
Save