Commit ee817a2
committed
Correct UART reads to return error on timeout.
This causes read to correctly return None instead of b''.
Fixes adafruit#8741 parent ab0bc1c commit ee817a2
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
272 | 277 | | |
273 | 278 | | |
274 | 279 | | |
| |||
0 commit comments