Fix datasize error when FWRETRACT is disabled (#12086)
This commit is contained in:
parent
951b25163e
commit
a40458405a
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue