Chasing a reboot bug...

This commit is contained in:
Gunnar Skjold
2023-01-30 16:52:12 +01:00
parent bc42099962
commit e8fb9570bb
3 changed files with 20 additions and 12 deletions

View File

@@ -506,6 +506,7 @@ bool AmsConfiguration::getEntsoeConfig(EntsoeConfig& config) {
}
return true;
} else {
clearEntsoe(config);
return false;
}
}
@@ -561,6 +562,7 @@ bool AmsConfiguration::getEnergyAccountingConfig(EnergyAccountingConfig& config)
if(config.hours > 5) config.hours = 5;
return true;
} else {
clearEnergyAccountingConfig(config);
return false;
}
}