diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-05-14 20:20:45 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-14 20:20:45 +0000 |
| commit | cdd326284a4a8bd45e59d18822a6d7269030f1c0 (patch) | |
| tree | b4b6d24d72d5e9b794911e827a76c86dbb9792e3 /embassy-embedded-hal/src | |
| parent | 82f7e104d90a6628d1873017ea5ef6a7afb3b3f7 (diff) | |
| parent | 3e9d5978c088a7d07af63e32a07583f2ff3ae7bb (diff) | |
Merge #1453
1453: stm32 uart: Fix error flag handling for blocking operations r=Dirbaio a=timokroeger
Clear and report the error flags one by one and pop the data byte only after all error flags were handled.
For v1/v2 we emulate the v3/v4 behaviour by buffering the status register because a read to the data register clears all flags at once which means we might loose all but the first error.
Only tested on stm32f3 discovery board with loopback. Let‘s see what CI says for the other families.
Fixes #1452
Co-authored-by: Timo Kröger <[email protected]>
Diffstat (limited to 'embassy-embedded-hal/src')
0 files changed, 0 insertions, 0 deletions
