fixed Bug in EEPROM-Page Handling
This commit is contained in:
parent
eaf2ad4933
commit
16d6aee420
@ -180,7 +180,7 @@ void MovePersistencePage_EEPROM(boolean reset)
|
|||||||
if (!checkEEPROMavailable())
|
if (!checkEEPROMavailable())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
globals.eePersistanceAdress = +sizeof(PersistenceData);
|
globals.eePersistanceAdress += sizeof(PersistenceData);
|
||||||
PersistenceData.writeCycleCounter = 0;
|
PersistenceData.writeCycleCounter = 0;
|
||||||
|
|
||||||
// check if we reached the End of the EEPROM and Startover at the beginning
|
// check if we reached the End of the EEPROM and Startover at the beginning
|
||||||
|
Loading…
x
Reference in New Issue
Block a user