Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

delay / esp_delay: transparently manage recurrent scheduled functions#8802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
d-a-v merged 10 commits intoesp8266:masterfromd-a-v:autosplitdelay
Jan 14, 2023
Merged
Changes from1 commit
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
PrevPrevious commit
NextNext commit
update comments
  • Loading branch information
@d-a-v
d-a-v committedJan 14, 2023
commit01240fc5673339f93362735436f49ed0bd74658c
7 changes: 3 additions & 4 deletionslibraries/ESP8266WiFi/src/ESP8266WiFiMulti.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -84,8 +84,8 @@ static void printWiFiStatus(wl_status_t status)
static wl_status_t waitWiFiConnect(uint32_t connectTimeoutMs)
{
wl_status_t status = WL_CONNECT_FAILED;
//The final argument, intvl_ms,toesp_delay determines
//the max ms interval at which statusischecked
//Wait for WiFitoconnect
//stop waiting upon status checked every 100ms or when timeoutisreached
esp_delay(connectTimeoutMs,
[&status]() {
status = WiFi.status();
Expand DownExpand Up@@ -236,8 +236,7 @@ int8_t ESP8266WiFiMulti::startScan()
WiFi.scanNetworks(true);

// Wait for WiFi scan change or timeout
// The final argument, intvl_ms, to esp_delay determines
// the max ms interval at which status is checked
// stop waiting upon status checked every 100ms or when timeout is reached
esp_delay(WIFI_SCAN_TIMEOUT_MS,
[&scanResult]() {
scanResult = WiFi.scanComplete();
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp