diff options
author | Joseph Birr-Pixton <jpixton@gmail.com> | 2015-03-10 19:47:07 +0000 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-05-27 20:48:37 -0700 |
commit | 5ada40e35c157362f4d3e2c59677d6ea9b648069 (patch) | |
tree | 23c838da587918c616bd0047e2ec096b1f7fba38 /libmaple/util.c | |
parent | 277d535af458074a14afa3e902378cd70a2f77f7 (diff) | |
download | librambutan-5ada40e35c157362f4d3e2c59677d6ea9b648069.tar.gz librambutan-5ada40e35c157362f4d3e2c59677d6ea9b648069.zip |
Fix hang on usart read overrun.
This is improved on the previous patch: if we get an ORE without
RXNE when we don't write a junk byte to our buffer. It also avoids
the strange-looking blind read.
See issue #107 for more info.
Signed-off-by: Joseph Birr-Pixton <jpixton@gmail.com>
Diffstat (limited to 'libmaple/util.c')
0 files changed, 0 insertions, 0 deletions