Not a big issue, but compiling with platformio there is a warning:
PubSubClient.cpp:464:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (rc == expectedLength); ^
expectedLength should be declared as unsigned int too.
Not a big issue, but compiling with platformio there is a warning:
PubSubClient.cpp:464:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (rc == expectedLength); ^
expectedLength should be declared as unsigned int too.