Reverted what was intended as support for earlier configuration versions.

This commit is contained in:
Gunnar Skjold
2020-02-02 08:15:49 +01:00
parent 4a3d22e75c
commit 9bb596aab1

View File

@@ -8,7 +8,7 @@ bool configuration::hasConfig()
{ {
bool hasConfig = false; bool hasConfig = false;
EEPROM.begin(EEPROM_SIZE); EEPROM.begin(EEPROM_SIZE);
hasConfig = EEPROM.read(EEPROM_CONFIG_ADDRESS) >= 71; hasConfig = EEPROM.read(EEPROM_CONFIG_ADDRESS) == EEPROM_CHECK_SUM;
EEPROM.end(); EEPROM.end();
return hasConfig; return hasConfig;
} }