Do later mounting of LCD-based SD

This commit is contained in:
Scott Lahteine 2020-03-10 17:46:20 -05:00
parent 090a90a036
commit 695e014075

View file

@ -991,8 +991,8 @@ void setup() {
SETUP_RUN(ui.show_bootscreen()); SETUP_RUN(ui.show_bootscreen());
#endif #endif
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT) && defined(SDCARD_CONNECTION) && !SD_CONNECTION_IS(LCD)
SETUP_RUN(card.mount()); // Mount the SD card before settings.first_load SETUP_RUN(card.mount()); // Mount onboard / custom SD card before settings.first_load
#endif #endif
SETUP_RUN(settings.first_load()); // Load data from EEPROM if available (or use defaults) SETUP_RUN(settings.first_load()); // Load data from EEPROM if available (or use defaults)