aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2023-05-14 20:34:57 +0200
committerTimo Kröger <[email protected]>2023-05-14 21:10:37 +0200
commit977a7906e47ed8b05388e8cdea0403a08a00b962 (patch)
tree41f6393621cb7dd57e91db1225aee6a3683c87ed /tests
parent82f7e104d90a6628d1873017ea5ef6a7afb3b3f7 (diff)
stm32 uart: Fix error flag handling for blocking operations
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions