mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-27 20:48:51 +00:00
Reverted what was intended as support for earlier configuration versions.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user