|
@ -955,15 +955,7 @@ void setup() { |
|
|
|
|
|
|
|
|
// Load data from EEPROM if available (or use defaults)
|
|
|
// Load data from EEPROM if available (or use defaults)
|
|
|
// This also updates variables in the planner, elsewhere
|
|
|
// This also updates variables in the planner, elsewhere
|
|
|
#if ENABLED(EEPROM_AUTO_INIT) |
|
|
(void)settings.load(); |
|
|
if (!settings.load()) { |
|
|
|
|
|
(void)settings.reset(); |
|
|
|
|
|
(void)settings.save(); |
|
|
|
|
|
SERIAL_ECHO_MSG("EEPROM Initialized"); |
|
|
|
|
|
} |
|
|
|
|
|
#else |
|
|
|
|
|
(void)settings.load(); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if HAS_M206_COMMAND |
|
|
#if HAS_M206_COMMAND |
|
|
// Initialize current position based on home_offset
|
|
|
// Initialize current position based on home_offset
|
|
|