Auto-mount the SDIO SD card (#13879)

2.0.x
Tanguy Pruvot 6 years ago committed by Scott Lahteine
parent ee243e4edf
commit 51d1e0f1dd

@ -939,6 +939,11 @@ void setup() {
queue_setup(); queue_setup();
#if ENABLED(SDIO_SUPPORT) && SD_DETECT_PIN == -1
// Auto-mount the SD for EEPROM.dat emulation
if (!card.isDetected()) card.initsd();
#endif
// Load data from EEPROM if available (or use defaults) // Load data from EEPROM if available (or use defaults)
// This also updates variables in the planner, elsewhere // This also updates variables in the planner, elsewhere
(void)settings.load(); (void)settings.load();

Loading…
Cancel
Save