Commit 617178c
committed
esp32: return from receive_events once drained
Fix ESP32 event poller re-blocking after running a listener,
which could delay a process readied by a driver (e.g. an
active-mode socket message) until the next event or timer tick
Signed-off-by: Paul Guyot <pguyot@kallisys.net>1 parent 2903b59 commit 617178c
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments