fixed another warning and bug in Logoutput
This commit is contained in:
parent
0a895a00b9
commit
701bf9f457
@ -170,7 +170,7 @@ void FormatPersistence_EEPROM()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
Serial.println("Formatting Persistance-Partition");
|
Serial.println("Formatting Persistance-Partition");
|
||||||
memset(&PersistenceData, 0, sizeof(PersistenceData));
|
PersistenceData = {0};
|
||||||
StorePersistence_EEPROM();
|
StorePersistence_EEPROM();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ bool ValidateEEPROM_Version()
|
|||||||
|
|
||||||
if (EEPROMVersionOnChip < ConfigData_defaults.EEPROM_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))
|
if (!MigrateEEPROM(EEPROMVersionOnChip))
|
||||||
{
|
{
|
||||||
Serial.print("Error\n");
|
Serial.print("Error\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user