Browse Source

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

[2.0.x] SD card detect improvement
pull/1/head
Bob-the-Kuhn 7 years ago
committed by GitHub
parent
commit
cb0e826c5d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Marlin/src/lcd/ultralcd.cpp

1
Marlin/src/lcd/ultralcd.cpp

@ -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…
Cancel
Save