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("