From 179c3c76bc7e9a9b0e7dfb3402e1c2539474a90b Mon Sep 17 00:00:00 2001 From: iranl Date: Wed, 2 Oct 2024 20:52:01 +0200 Subject: [PATCH] Fixes --- src/WebCfgServer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp index 6f665b1..8443950 100644 --- a/src/WebCfgServer.cpp +++ b/src/WebCfgServer.cpp @@ -3190,7 +3190,7 @@ esp_err_t WebCfgServer::buildGpioConfigHtml(PsychicRequest *request) { String pinStr = String(pin); String pinDesc = "Gpio " + pinStr; - printDropDown(pinStr.c_str(), pinDesc.c_str(), "", options, "gpioselect"); + printDropDown(&response, pinStr.c_str(), pinDesc.c_str(), "", options, "gpioselect"); if(std::find(disabledPins.begin(), disabledPins.end(), pin) != disabledPins.end()) { gpiopreselects.concat("gpio[" + pinStr + "] = '21';"); @@ -4102,14 +4102,14 @@ void WebCfgServer::printDropDown(PsychicStreamResponse *response, const char *to response->print(""); if(className.length() > 0) { - _response.concat("print("