Skip to content

Commit

Permalink
Do later mounting of LCD-based SD
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and mathom committed Apr 16, 2020
1 parent 14005a5 commit b21b6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/MarlinCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -991,8 +991,8 @@ void setup() {
SETUP_RUN(ui.show_bootscreen());
#endif

#if ENABLED(SDSUPPORT)
SETUP_RUN(card.mount()); // Mount the SD card before settings.first_load
#if ENABLED(SDSUPPORT) && defined(SDCARD_CONNECTION) && !SD_CONNECTION_IS(LCD)
SETUP_RUN(card.mount()); // Mount onboard / custom SD card before settings.first_load
#endif

SETUP_RUN(settings.first_load()); // Load data from EEPROM if available (or use defaults)
Expand Down

0 comments on commit b21b6e6

Please sign in to comment.