We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1557fa4 commit d1374beCopy full SHA for d1374be
src/ATT_ESP8266.h
@@ -307,7 +307,9 @@ void Device::disconnectWiFi() {
307
disconnectAllThingsTalk();
308
WiFi.disconnect();
309
disconnectedWiFi = true;
310
- while (WiFi.status() == WL_CONNECTED) {}
+ while (WiFi.status() == WL_CONNECTED) {
311
+ delay(1000);
312
+ }
313
debug("Successfully Disconnected from WiFi");
314
}
315
src/ATT_MKR1010.h
@@ -364,7 +364,9 @@ void Device::disconnectWiFi() {
364
365
366
367
368
369
370
371
372
0 commit comments