diff --git a/server/commande_telephone.ino b/server/commande_telephone.ino index 663df9f..403b046 100644 --- a/server/commande_telephone.ino +++ b/server/commande_telephone.ino @@ -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"))