mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-01 03:26:58 +03:00
Return to scheduler context from ESP::deepSleep (#609)
This commit is contained in:
@ -74,7 +74,9 @@ extern "C" void abort() {
|
||||
}
|
||||
|
||||
extern "C" void esp_yield() {
|
||||
cont_yield(&g_cont);
|
||||
if (cont_can_yield(&g_cont)) {
|
||||
cont_yield(&g_cont);
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void esp_schedule() {
|
||||
|
Reference in New Issue
Block a user