Browse Source

Do later mounting of LCD-based SD

Scott Lahteine 5 years ago
parent
commit
695e014075
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/MarlinCore.cpp

+ 2
- 2
Marlin/src/MarlinCore.cpp View File

@@ -991,8 +991,8 @@ void setup() {
991 991
     SETUP_RUN(ui.show_bootscreen());
992 992
   #endif
993 993
 
994
-  #if ENABLED(SDSUPPORT)
995
-    SETUP_RUN(card.mount());          // Mount the SD card before settings.first_load
994
+  #if ENABLED(SDSUPPORT) && defined(SDCARD_CONNECTION) && !SD_CONNECTION_IS(LCD)
995
+    SETUP_RUN(card.mount());          // Mount onboard / custom SD card before settings.first_load
996 996
   #endif
997 997
 
998 998
   SETUP_RUN(settings.first_load());   // Load data from EEPROM if available (or use defaults)

Loading…
Cancel
Save