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 f382fc9 commit 95b06ceCopy full SHA for 95b06ce
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
3E65 oneShotYieldMs timeout(timeoutLength); // number of milliseconds to wait before returning timeout error
437
while(!timeout) {
0 commit comments