stm32-rs / stm32f0xx-hal

A Rust `embedded-hal` implementation for all MCUs in the STM32 F0 family
BSD Zero Clause License
134 stars 59 forks source link

Simplify serial `read()` error handling #108

Closed therealprof closed 4 years ago

therealprof commented 4 years ago

Clearing the error bits once should suffice

Signed-off-by: Daniel Egger daniel@eggers-club.de