Browse Source

Only show "SD Init Fail" with detectable media (#19236)

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by Scott Lahteine
parent
commit
6a511b6ea7
  1. 2
      Marlin/src/sd/cardreader.cpp

2
Marlin/src/sd/cardreader.cpp

@ -383,8 +383,10 @@ void CardReader::mount() {
if (flag.mounted)
cdroot();
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) || PIN_EXISTS(SD_DETECT)
else if (marlin_state != MF_INITIALIZING)
ui.set_status_P(GET_TEXT(MSG_SD_INIT_FAIL), -1);
#endif
ui.refresh();
}

Loading…
Cancel
Save