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:
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue