cotestatnt / AsyncTelegram2

Powerful, flexible and secure Arduino Telegram BOT library. Hardware independent, it can be used with any MCU capable of handling an SSL connection.
MIT License
85 stars 25 forks source link

Fix debug messages #53

Closed Di-Strix closed 2 years ago

Di-Strix commented 2 years ago

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: