1
0
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:
Ivan Grokhotkov
2015-08-05 08:42:29 -04:00
parent e02932fcdd
commit cc152de907
2 changed files with 14 additions and 14 deletions

View File

@ -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() {