fixed Bug in EEPROM-Page Handling

This commit is contained in:
Marcel Peterkau 2024-01-09 10:46:36 +01:00
parent eaf2ad4933
commit 16d6aee420

View File

@ -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