Skip to content
Snippets Groups Projects
Commit 34942d0a authored by Damien George's avatar Damien George
Browse files

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.
parent 7e90e22e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment