Fixes debug messages that was printed directly to the serial despite the DEBUG_ENABLE setting.
Removes DEBUG_ENABLE define before "ifndef" construction that defines the DEBUG_ENABLE with value 0. Since it may cause redefine warning and excludes the possibility of enabling debug messages without modifying header file.
Removes second call of client's "stop" function since it is unnecessary.
Type of change:
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
Testing:
[ ] merged with the current development branch (before testing)
[ ] CI build finished without issues
[x] Tested on real hardware (ESP32, ESP8266)
[x] Changes are backward compatible
Checklist:
[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
Description:
Fixes debug messages that was printed directly to the serial despite the DEBUG_ENABLE setting. Removes DEBUG_ENABLE define before "ifndef" construction that defines the DEBUG_ENABLE with value 0. Since it may cause redefine warning and excludes the possibility of enabling debug messages without modifying header file. Removes second call of client's "stop" function since it is unnecessary.
Type of change:
Testing:
Checklist: