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

[2.0.x] SD card detect improvement
This commit is contained in:
Bob-the-Kuhn 2018-01-05 21:09:57 -06:00 committed by GitHub
commit cb0e826c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}