esp8266/ets_alt_task: Process idle callback if no other events occurred.

pull/4088/head
Damien George 2018-11-28 11:54:50 +11:00
rodzic 485514f57a
commit 9e2dd93145
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -166,6 +166,11 @@ bool ets_loop_iter(void) {
}
ets_intr_unlock();
}
if (!progress && idle_cb) {
idle_cb(idle_arg);
}
return progress;
}