Closed etrombly closed 5 years ago
I ran into this issue as well and made a pull requeset a while back which has not been accepted yet. https://github.com/japaric/stm32f103xx-hal/pull/53
Since #53 was merged, this can be closed, right?
should be good. I'll close this issue.
If you trigger a serial overrun error you need to read the ore then dr register to clear it. If you split the Tx and Rx side there's no easy way to read the dr register manually to clear the flag. The read function will just return the overrun error without reading dr.