fixed another warning and bug in Logoutput

This commit is contained in:
Marcel Peterkau 2023-04-18 12:30:14 +02:00
parent 0a895a00b9
commit 701bf9f457

View File

@ -170,7 +170,7 @@ void FormatPersistence_EEPROM()
return;
Serial.println("Formatting Persistance-Partition");
memset(&PersistenceData, 0, sizeof(PersistenceData));
PersistenceData = {0};
StorePersistence_EEPROM();
}
@ -277,7 +277,7 @@ bool ValidateEEPROM_Version()
if (EEPROMVersionOnChip < ConfigData_defaults.EEPROM_Version)
{
Serial.printf("EEPROM Image Version is %d, but %d expected - trying to migrate\n");
Serial.printf("EEPROM Image Version is %d, but %d expected - trying to migrate\n", EEPROMVersionOnChip, ConfigData_defaults.EEPROM_Version);
if (!MigrateEEPROM(EEPROMVersionOnChip))
{
Serial.print("Error\n");