Browse Source
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.pull/4765/head
Damien George
6 years ago
2 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue