🐛 Fix EEPROM_INIT_NOW build hash test (#23479)

This commit is contained in:
Miguel Risco-Castillo 2022-01-09 02:29:36 -05:00 committed by Scott Lahteine
parent 4c5e57ae89
commit dc470eb10f

View file

@ -1584,7 +1584,7 @@ void MarlinSettings::postprocess() {
#if ENABLED(EEPROM_INIT_NOW) #if ENABLED(EEPROM_INIT_NOW)
uint32_t stored_hash; uint32_t stored_hash;
EEPROM_READ_ALWAYS(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 #endif
uint16_t stored_crc; uint16_t stored_crc;