commands from WebUI no longer CaseSensitive
This commit is contained in:
		| @@ -193,9 +193,10 @@ void WebserverNotFound_Callback(AsyncWebServerRequest *request) | ||||
| void WebserverCommands_Callback(String input) | ||||
| { | ||||
|   String command = input.substring(0, input.indexOf(' ')); | ||||
|   command.toUpperCase(); | ||||
|   StatusResponseMessage_Type = RESPMSG_HIDE; | ||||
|  | ||||
|   if (command == "reset") | ||||
|   if (command == "RESET") | ||||
|   { | ||||
|     strcpy(StatusResponseMessage, "Counter Reset done"); | ||||
|     StatusResponseMessage_Type = RESPMSG_SUCCESS; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user