Skip to content

Commit a1ac2a2

Browse files
committed
Change indenting in AdafruitIO_AIRLIFT.h
Will do the same with others
1 parent c2b359d commit a1ac2a2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/wifi/AdafruitIO_AIRLIFT.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -161,23 +161,23 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
161161
if(strlen(_ssid) != 0)
162162
{
163163
_disconnect();
164-
// setup ESP32 pins
165-
if (_ssPin != -1) {
166-
WiFi.setPins(_ssPin, _ackPin, _rstPin, _gpio0Pin, _wifi);
167-
}
168-
169-
// check esp32 module version against NINAFWVER
170-
firmwareCheck();
171-
172-
// check for esp32 module
173-
if (WiFi.status() == WL_NO_MODULE)
174-
{
175-
AIO_DEBUG_PRINTLN("No ESP32 module detected!");
176-
return;
177-
}
178-
179-
WiFi.begin(_ssid, _pass);
180-
_status = AIO_NET_DISCONNECTED;
164+
// setup ESP32 pins
165+
if (_ssPin != -1) {
166+
WiFi.setPins(_ssPin, _ackPin, _rstPin, _gpio0Pin, _wifi);
167+
}
168+
169+
// check esp32 module version against NINAFWVER
170+
firmwareCheck();
171+
172+
// check for esp32 module
173+
if (WiFi.status() == WL_NO_MODULE)
174+
{
175+
AIO_DEBUG_PRINTLN("No ESP32 module detected!");
176+
return;
177+
}
178+
179+
WiFi.begin(_ssid, _pass);
180+
_status = AIO_NET_DISCONNECTED;
181181
}
182182
}
183183

0 commit comments

Comments
 (0)