When compiling the code with '-Werror=format' the code fails to compile with this error:
WiFiConnect.h: In member function 'void WiFiConnect::connect()':
WiFiConnect.h:38:30: error: format '%s' expects argument of type 'char*', but argument 3 has type 'String' [-Werror=format=]
This PR changes the code to satisfy the expected argument type.
When compiling the code with '-Werror=format' the code fails to compile with this error:
This PR changes the code to satisfy the expected argument type.