Commit a63cc63
esp32/mphalport: Actually read from dupterm in mp_hal_stdin_rx_chr().
The esp32 port (and esp8266) doesn't read from dupterm in
`mp_hal_stdin_rx_chr()` is because it uses `os.dupterm_notify()` instead,
which forces a read of the dupterm sources from Python. That function
should be called when it's known that there is input to read.
Nevertheless, this commit adds code to explicitly poll dupterm in
`mp_hal_stdin_rx_chr()`, following other ports like rp2.
Signed-off-by: Matthias Urlichs <matthias@urlichs.de>1 parent ed7bfcb commit a63cc63
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
141 | 147 | | |
142 | 148 | | |
143 | 149 | | |
| |||
0 commit comments