Mount the SD card early (#15255)

This commit is contained in:
Tanguy Pruvot 2019-09-15 10:05:01 +02:00 committed by Scott Lahteine
parent c4090b1375
commit 2386c147ad

View File

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