Browse Source

Fix datasize error when FWRETRACT is disabled (#12086)

pull/1/head
Karl Andersson 6 years ago
committed by Scott Lahteine
parent
commit
a40458405a
  1. 3
      Marlin/src/module/configuration_store.cpp

3
Marlin/src/module/configuration_store.cpp

@ -1313,6 +1313,9 @@ void MarlinSettings::postprocess() {
#if ENABLED(FWRETRACT)
EEPROM_READ(fwretract.settings);
#else
fwretract_settings_t fwretract_settings;
EEPROM_READ(fwretract_settings);
#endif
#if ENABLED(FWRETRACT) && ENABLED(FWRETRACT_AUTORETRACT)
EEPROM_READ(fwretract.autoretract_enabled);

Loading…
Cancel
Save