From 6ecb733bea50a61375be9e6fb5fd02206c12c723 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Mon, 13 May 2024 16:08:27 -0400 Subject: [PATCH] saving works kinda --- data_embed/index.html | 11 ++++++++--- src/web_utils.cpp | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/data_embed/index.html b/data_embed/index.html index 2b06ede..77f71f1 100644 --- a/data_embed/index.html +++ b/data_embed/index.html @@ -841,7 +841,7 @@ -
+
meters 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();