Skip to content

Commit

Permalink
CO2 Gadget Beta v0.14.007
Browse files Browse the repository at this point in the history
  • Loading branch information
melkati committed Jun 10, 2024
1 parent 317717d commit e970f0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CO2_Gadget_WIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,9 @@ void initWebServer() {
displayShowBattery = (request->getParam("showBattery")->value() == "true" || request->getParam("showBattery")->value() == "1");
Serial.println("-->[WEBS] showTemp(" + request->getParam("showTemp")->value() + ") - showHumidity(" + request->getParam("showHumidity")->value() + ") - showBAttery(" + request->getParam("showBattery")->value() + ") in display");
if (!inMenu) {
#ifdef DEBUG_CAPTIVE_PORTAL
Serial.println("-->[WEBS] Set shouldRedrawDisplay to true");
#endif
redrawDisplayOnNextLoop = true;
}
request->send(200, "text/plain", "OK. Showing/hidding Temp/Humidity/Battery in display");
Expand Down

0 comments on commit e970f0a

Please sign in to comment.