mirror of
https://github.com/apache/nuttx.git
synced 2025-12-15 17:25:36 +08:00
imxrt:Serial LPUART_STAT_PF s/b LPUART_STAT_NF
as a result of a typo LPUART_STAT_NF was not checked and cleared on LPUART_STAT_PF.
This commit is contained in:
committed by
Xiang Xiao
parent
57190efe84
commit
4284d0398b
@@ -1780,7 +1780,7 @@ static int imxrt_interrupt(int irq, void *context, void *arg)
|
||||
imxrt_serialout(priv, IMXRT_LPUART_STAT_OFFSET, LPUART_STAT_OR);
|
||||
}
|
||||
|
||||
if ((usr & LPUART_STAT_PF) != 0)
|
||||
if ((usr & LPUART_STAT_NF) != 0)
|
||||
{
|
||||
imxrt_serialout(priv, IMXRT_LPUART_STAT_OFFSET, LPUART_STAT_NF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user