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:49:27 -0700 |
commit | 97aa002c9d268c30a13b308e7138ad2c41fde7c6 (patch) | |
tree | 20bc0f8eb74f6b1bfe23ae4df146f24854b8f721 /libmaple/stm32f1/exti.c | |
parent | 160d861ba3fe50c30891d1abcb2c520be84aaa85 (diff) | |
download | librambutan-97aa002c9d268c30a13b308e7138ad2c41fde7c6.tar.gz librambutan-97aa002c9d268c30a13b308e7138ad2c41fde7c6.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/stm32f1/exti.c')
0 files changed, 0 insertions, 0 deletions