Browse Source

Mount the SD card early (#15255)

Tanguy Pruvot 4 years ago
parent
commit
2386c147ad
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/Marlin.cpp

+ 3
- 3
Marlin/src/Marlin.cpp View File

@@ -981,9 +981,9 @@ void setup() {
981 981
     ui.show_bootscreen();
982 982
   #endif
983 983
 
984
-  #if ENABLED(SDIO_SUPPORT) && !PIN_EXISTS(SD_DETECT)
985
-    // Auto-mount the SD for EEPROM.dat emulation
986
-    if (!card.isDetected()) card.initsd();
984
+  #if ENABLED(SDSUPPORT)
985
+    // Auto-mount the SD
986
+    card.initsd();
987 987
   #endif
988 988
 
989 989
   // Load data from EEPROM if available (or use defaults)

Loading…
Cancel
Save