8000
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 1d9f3ee commit 28c33b2Copy full SHA for 28c33b2
libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
@@ -431,6 +431,7 @@ int8_t ESP8266WiFiSTAClass::waitForConnectResult(unsigned long timeoutLength) {
431
if((wifi_get_opmode() & 1) == 0) {
432
return WL_DISCONNECTED;
433
}
434
+ // if probing doesn't trip, this yields
435
using oneShotYieldMs = esp8266::polledTimeout::timeoutTemplate<false, esp8266::polledTimeout::YieldPolicy::YieldOrSkip>;
436
oneShotYieldMs timeout(timeoutLength); // number of milliseconds to wait before returning timeout error
437
while(!timeout) {
0 commit comments