Skip to content

Commit fe6d93d

Browse files
committed
formatting changes
formatting changes
1 parent 3e3f93f commit fe6d93d

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

src/AdafruitIO_Definitions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class AdafruitIOGroupCallback {
112112
#define AIO_NET_DISCONNECT_WAIT \
113113
300 ///< Time to wait for a net disconnect to take effect
114114

115-
#define AIO_ERROR_TOPIC "/errors" ///< Adafruit IO Error MQTT Topic
115+
#define AIO_ERROR_TOPIC "/errors" ///< Adafruit IO Error MQTT Topic
116116
#define AIO_THROTTLE_TOPIC "/throttle" ///< Adafruit IO Throttle MQTT Topic
117117

118118
// latest fingerprint can be generated with

src/wifi/AdafruitIO_MKR1010.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
class AdafruitIO_MKR1010 : public AdafruitIO {
2727

2828
public:
29-
AdafruitIO_MKR1010(const char *user, const char *key,
30-
const char *ssid, const char *pass)
31-
: AdafruitIO(user, key) {
32-
_ssid = ssid;
33-
_pass = pass;
34-
_client = new WiFiSSLClient;
35-
_mqtt = new Adafruit_MQTT_Client(_client, _host, _mqtt_port);
36-
_http = new HttpClient(*_client, _host, _http_port);
37-
}
29+
AdafruitIO_MKR1010(const char *user, const char *key, const char *ssid,
30+
const char *pass)
31+
: AdafruitIO(user, key) {
32+
_ssid = ssid;
33+
_pass = pass;
34+
_client = new WiFiSSLClient;
35+
_mqtt = new Adafruit_MQTT_Client(_client, _host, _mqtt_port);
36+
_http = new HttpClient(*_client, _host, _http_port);
37+
}
3838
~AdafruitIO_MKR1010() {
3939
if (_client)
4040
delete _client;
@@ -54,7 +54,7 @@ class AdafruitIO_MKR1010 : public AdafruitIO {
5454
return AIO_NET_DISCONNECTED;
5555
}
5656
}
57-
57+
5858
const char *connectionType() { return "wifi"; }
5959

6060
protected:
@@ -68,7 +68,7 @@ class AdafruitIO_MKR1010 : public AdafruitIO {
6868
_status = networkStatus();
6969
}
7070
}
71-
71+
7272
void _disconnect() {
7373
WiFi.disconnect();
7474
delay(AIO_NET_DISCONNECT_WAIT);

src/wifi/AdafruitIO_WINC1500.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "SPI.h"
2626
#include "WiFi101.h"
2727

28-
2928
/**************************************************************************/
3029
/*!
3130
@brief Class for interacting with adafruit.io (AIO) using WINC1500

0 commit comments

Comments
 (0)