Browse Source

Auto-mount the SDIO SD card (#13879)

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

5
Marlin/src/Marlin.cpp

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