From 2386c147adbe22e4c4727632220c289bd79eabfa Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 15 Sep 2019 10:05:01 +0200 Subject: [PATCH] Mount the SD card early (#15255) --- Marlin/src/Marlin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/src/Marlin.cpp b/Marlin/src/Marlin.cpp index fa86ce9ab..662a14a82 100644 --- a/Marlin/src/Marlin.cpp +++ b/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)