fix(server): 🐛 wrong type in function parameter

This commit is contained in:
Julien Oculi 2024-06-25 22:08:39 +02:00
parent 704a352724
commit 9b055207d6

View file

@ -97,7 +97,7 @@ void serverConfig()
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
if (!request->hasParam("command"))