Revert "Sort out settings.load with SD EEPROM emulation (#14458)"

This reverts commit 108d0df565.
This commit is contained in:
Scott Lahteine
2019-07-03 19:11:30 -05:00
parent b7573c6e69
commit de462f2b8a
6 changed files with 15 additions and 31 deletions

View File

@ -81,10 +81,6 @@
#include "../Marlin.h"
#if ENABLED(SD_EEPROM_EMULATION)
#include "../module/configuration_store.h"
#endif
#if ENABLED(POWER_LOSS_RECOVERY)
#include "../feature/power_loss_recovery.h"
#endif
@ -787,13 +783,8 @@ void MarlinUI::update() {
if (sd_status) {
safe_delay(500); // Some boards need a delay to get settled
card.initsd();
if (old_sd_status == 2) {
#if ENABLED(SD_EEPROM_EMULATION)
SERIAL_ECHOLNPGM("Loading settings from SD");
(void)settings.load();
#endif
if (old_sd_status == 2)
card.beginautostart(); // Initial boot
}
else
set_status_P(PSTR(MSG_SD_INSERTED));
}