esp8266/ets_alt_task: Process idle callback if no other events occurred.
This commit is contained in:
parent
485514f57a
commit
9e2dd93145
@ -166,6 +166,11 @@ bool ets_loop_iter(void) {
|
||||
}
|
||||
ets_intr_unlock();
|
||||
}
|
||||
|
||||
if (!progress && idle_cb) {
|
||||
idle_cb(idle_arg);
|
||||
}
|
||||
|
||||
return progress;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user