Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

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 d76d4ff commit e9c2c76
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 e9c2c76

Please sign in to comment.