Browse Source

Mount the SD card early (#15255)

pull/1/head
Tanguy Pruvot 5 years ago
committed by Scott Lahteine
parent
commit
2386c147ad
  1. 6
      Marlin/src/Marlin.cpp

6
Marlin/src/Marlin.cpp

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

Loading…
Cancel
Save