saving works kinda

This commit is contained in:
richonguzman
2024-05-13 16:08:27 -04:00
parent 1345ddd608
commit 6ecb733bea
2 changed files with 10 additions and 3 deletions

View File

@@ -151,6 +151,8 @@ namespace WEB_Utils {
}
Config.bme.active = request->hasParam("bme.active", true);
Config.bme.heightCorrection = request->getParam("bme.heightCorrection", true)->value().toInt();
Config.bme.temperatureCorrection = request->getParam("bme.temperatureCorrection", true)->value().toFloat();
Config.ota.username = request->getParam("ota.username", true)->value();
Config.ota.password = request->getParam("ota.password", true)->value();