improvement: use LoRa WX icon when using BME

This commit is contained in:
SQ2CPA
2024-04-04 17:58:07 +02:00
parent c8cde0a404
commit d16e407269
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -158,6 +158,10 @@ namespace WEB_Utils {
Config.lowPowerMode = request->hasParam("other.lowPowerMode", true);
Config.lowVoltageCutOff = request->getParam("other.lowVoltageCutOff", true)->value().toDouble();
if (Config.bme.active) {
Config.beacon.symbol = "_";
}
Config.writeFile();
AsyncWebServerResponse *response = request->beginResponse(302, "text/html", "");