From 2376d14b5de6f0b0b0793156b6df6c063f9fb217 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Fri, 24 Feb 2023 00:05:21 +0100 Subject: [PATCH] fixed warning --- Software/src/config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Software/src/config.cpp b/Software/src/config.cpp index ef2b8b9..db015ab 100644 --- a/Software/src/config.cpp +++ b/Software/src/config.cpp @@ -163,7 +163,8 @@ void FormatConfig_EEPROM() void FormatPersistence_EEPROM() { Debug_pushMessage("Formatting Persistance-Partition\n"); - memset(&PersistenceData, 0, sizeof(PersistenceData)); + PersistenceData = {0}; + // memset(&PersistenceData, 0, sizeof(PersistenceData)); StorePersistence_EEPROM(); }