diff options
author | Damien George <damien.p.george@gmail.com> | 2019-05-02 22:04:55 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-05-07 13:56:42 +1000 |
commit | 34942d0a72980173eca51b201f271f67bcae46b5 (patch) | |
tree | 324e419a3ba4fb620e8a9d3e3c7c1cee74394562 /py/persistentcode.c | |
parent | 7e90e22ea52665e38138d1e704d5e527439b663c (diff) |
stm32/machine_uart: Change default UART timeout to 0, for non blocking.
It's more common to need non-blocking behaviour when reading from a UART,
rather than having a large timeout like 1000ms (the original behaviour).
With a large timeout it's 1) likely that the function will read forever if
characters keep trickling it; or 2) the function will unnecessarily wait
when characters come sporadically, eg at a REPL prompt.
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions