jnthas / mariobros-clock

The Mario Bros wall clock project
https://jnthas.github.io/mariobros-clock
MIT License
59 stars 9 forks source link

Fix warning in WiFiConnect.h #4

Closed abrender closed 1 year ago

abrender commented 1 year ago

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.

jnthas commented 1 year ago

Thanks you!