Skip to content
Snippets Groups Projects
Commit a4045840 authored by Karl Andersson's avatar Karl Andersson Committed by Scott Lahteine
Browse files

Fix datasize error when FWRETRACT is disabled (#12086)

parent 951b2516
Branches
Tags
No related merge requests found
...@@ -1313,6 +1313,9 @@ void MarlinSettings::postprocess() { ...@@ -1313,6 +1313,9 @@ void MarlinSettings::postprocess() {
#if ENABLED(FWRETRACT) #if ENABLED(FWRETRACT)
EEPROM_READ(fwretract.settings); EEPROM_READ(fwretract.settings);
#else
fwretract_settings_t fwretract_settings;
EEPROM_READ(fwretract_settings);
#endif #endif
#if ENABLED(FWRETRACT) && ENABLED(FWRETRACT_AUTORETRACT) #if ENABLED(FWRETRACT) && ENABLED(FWRETRACT_AUTORETRACT)
EEPROM_READ(fwretract.autoretract_enabled); EEPROM_READ(fwretract.autoretract_enabled);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment