|
|
|
@ -941,9 +941,7 @@ void setup() {
|
|
|
|
|
|
|
|
|
|
// Load data from EEPROM if available (or use defaults)
|
|
|
|
|
// This also updates variables in the planner, elsewhere
|
|
|
|
|
#if DISABLED(SD_EEPROM_EMULATION)
|
|
|
|
|
(void)settings.load();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_M206_COMMAND
|
|
|
|
|
// Initialize current position based on home_offset
|
|
|
|
@ -1096,19 +1094,10 @@ void setup() {
|
|
|
|
|
init_closedloop();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if !HAS_SPI_LCD
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SD_EEPROM_EMULATION)
|
|
|
|
|
SERIAL_ECHOLNPGM("Loading settings from SD");
|
|
|
|
|
(void)settings.load();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(INIT_SDCARD_ON_BOOT)
|
|
|
|
|
#if ENABLED(INIT_SDCARD_ON_BOOT) && !HAS_SPI_LCD
|
|
|
|
|
card.beginautostart();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_TRINAMIC && DISABLED(PS_DEFAULT_OFF)
|
|
|
|
|
test_tmc_connection(true, true, true, true);
|
|
|
|
|
#endif
|
|
|
|
|