Skip to content

Commit

Permalink
🐛 Fix EEPROM_INIT_NOW build hash test (MarlinFirmware#23479)
Browse files Browse the repository at this point in the history
  • Loading branch information
mriscoc authored and thinkyhead committed Jan 9, 2022
1 parent 4c5e57a commit dc470eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc470eb

Please sign in to comment.