1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-27 15:01:49 +03:00

rename all subclass diconnect() to disconnectServer()

This commit is contained in:
Todd Treece
2015-10-05 14:18:49 -04:00
parent 4ab72be73e
commit aa6db4d5f5
4 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ class Adafruit_MQTT_CC3000 : public Adafruit_MQTT {
return mqttclient.connected();
}
bool disconnect() {
bool disconnectServer() {
if (connected()) {
return (mqttclient.close() == 0);
}