Browse Source

🐛 Fix EEPROM_INIT_NOW build hash test (#23479)

vanilla_fb_2.0.x
Miguel Risco-Castillo 3 years ago
committed by Scott Lahteine
parent
commit
dc470eb10f
  1. 2
      Marlin/src/module/settings.cpp

2
Marlin/src/module/settings.cpp

@ -1584,7 +1584,7 @@ void MarlinSettings::postprocess() {
#if ENABLED(EEPROM_INIT_NOW)
uint32_t stored_hash;
EEPROM_READ_ALWAYS(stored_hash);
if (stored_hash != build_hash) { EEPROM_FINISH(); return true; }
if (stored_hash != build_hash) { EEPROM_FINISH(); return false; }
#endif
uint16_t stored_crc;

Loading…
Cancel
Save