Mount the SD card early (#15255)

This commit is contained in:
Tanguy Pruvot authored and Scott Lahteine committed 2019-09-15 03:05:01 -05:00
1 parent c4090b1375
commit 2386c147ad
1 file changed
+3 -3
+3 -3
View File
@@ -981,9 +981,9 @@ void setup() {
ui.show_bootscreen();
#endif
#if ENABLED(SDIO_SUPPORT) && !PIN_EXISTS(SD_DETECT)
// Auto-mount the SD for EEPROM.dat emulation
if (!card.isDetected()) card.initsd();
#if ENABLED(SDSUPPORT)
// Auto-mount the SD
card.initsd();
#endif
// Load data from EEPROM if available (or use defaults)