mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-24 19:42:27 +03:00
Add/unify comments for target and source sites of async scheduling via delay()/esp_yield()/esp_schedule() (#6780)
This commit is contained in:
committed by
david gauchard
parent
05454df164
commit
240ae5ef26
@ -71,7 +71,7 @@ bool ESP8266WiFiSTAClass::beginWPSConfig(void) {
|
||||
}
|
||||
|
||||
esp_yield();
|
||||
// will return here when wifi_wps_status_cb fires
|
||||
// will resume when wifi_wps_status_cb fires
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -107,5 +107,5 @@ void wifi_wps_status_cb(wps_cb_status status) {
|
||||
}
|
||||
// TODO user function to get status
|
||||
|
||||
esp_schedule(); // resume the beginWPSConfig function
|
||||
esp_schedule(); // resume beginWPSConfig
|
||||
}
|
||||
|
Reference in New Issue
Block a user