fix bootloop with missing version

This commit is contained in:
proddy
2024-07-28 09:26:02 +02:00
parent 0edb5c0fd9
commit f4781b91c2
3 changed files with 8 additions and 11 deletions

View File

@@ -32,6 +32,7 @@ WebSettingsService::WebSettingsService(AsyncWebServer * server, FS * fs, Securit
}
void WebSettings::read(WebSettings & settings, JsonObject root) {
root["version"] = settings.version;
root["locale"] = settings.locale;
root["tx_mode"] = settings.tx_mode;
root["ems_bus_id"] = settings.ems_bus_id;