ソースを参照

Mount the SD card early (#15255)

Tanguy Pruvot 4年前
コミット
2386c147ad
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      Marlin/src/Marlin.cpp

+ 3
- 3
Marlin/src/Marlin.cpp ファイルの表示

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

読み込み中…
キャンセル
保存