fix(server): 🐛 wrong type in function parameter
This commit is contained in:
parent
704a352724
commit
9b055207d6
|
@ -97,7 +97,7 @@ void serverConfig()
|
||||||
request->send(200, "text/plain", command); });
|
request->send(200, "text/plain", command); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void parseRequestParams(AsyncWebServerRequest &request, String &command, int &value)
|
void parseRequestParams(AsyncWebServerRequest *request, String &commandName, float &commandValue)
|
||||||
{
|
{
|
||||||
// Stop here with error message if wrong command
|
// Stop here with error message if wrong command
|
||||||
if (!request->hasParam("command"))
|
if (!request->hasParam("command"))
|
||||||
|
|
Loading…
Reference in a new issue