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
No account linked to committer's email address
|
@@ -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
|
}
|