Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit IO Arduino
version=3.5.1
version=3.6.0
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Arduino library to access Adafruit IO.
Expand Down
4 changes: 3 additions & 1 deletion src/wifi/AdafruitIO_AIRLIFT.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
if (strlen(_ssid) == 0) {
_status = AIO_SSID_INVALID;
} else {
_disconnect();
// setup ESP32 pins
if (_ssPin != -1) {
WiFi.setPins(_ssPin, _ackPin, _rstPin, _gpio0Pin, _wifi);
Expand All @@ -165,6 +164,9 @@ class AdafruitIO_AIRLIFT : public AdafruitIO {
// check esp32 module version against NINAFWVER
firmwareCheck();

// disconnect from possible previous connection
_disconnect();

// check for esp32 module
if (WiFi.status() == WL_NO_MODULE) {
AIO_DEBUG_PRINTLN("No ESP32 module detected!");
Expand Down