Skip to content
Commit 7a602fc6 authored by Kiril Zyapkov's avatar Kiril Zyapkov Committed by Anas Nashif
Browse files

drivers: uart_stm32: fix ORE hogging the CPU



If data is received before an IRQ handler was set and enabled,
hardware sets the ORE flag. Once set, the IRQ routine starts
hogging the CPU until ORE is cleared. This change will clear
the flag when user code attempts to drain incoming data.

Signed-off-by: default avatarKiril Zyapkov <k.zyapkov@allterco.com>
parent 7e3a4573
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment