1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-29 02:02:00 +03:00

remove broken while loop from ping()

This commit is contained in:
Todd Treece
2015-10-05 10:38:09 -04:00
parent 0fbd734646
commit 765a2feaff
2 changed files with 14 additions and 14 deletions

View File

@ -163,9 +163,8 @@ class Adafruit_MQTT {
// that subscribe should be called first for each topic that receives messages!
Adafruit_MQTT_Subscribe *readSubscription(int16_t timeout=0);
// Ping the server to ensure the connection is still alive. Returns true if
// successful, otherwise false.
bool ping(uint8_t t);
// Ping the server to ensure the connection is still alive.
bool ping();
protected:
// Interface that subclasses need to implement: