From 16d6aee42084d182c0d4ebdc725704bbcb01a7a1 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Tue, 9 Jan 2024 10:46:36 +0100 Subject: [PATCH] fixed Bug in EEPROM-Page Handling --- Software/src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/src/config.cpp b/Software/src/config.cpp index b80a14a..482a5a6 100644 --- a/Software/src/config.cpp +++ b/Software/src/config.cpp @@ -180,7 +180,7 @@ void MovePersistencePage_EEPROM(boolean reset) if (!checkEEPROMavailable()) return; - globals.eePersistanceAdress = +sizeof(PersistenceData); + globals.eePersistanceAdress += sizeof(PersistenceData); PersistenceData.writeCycleCounter = 0; // check if we reached the End of the EEPROM and Startover at the beginning