diff --git a/arch/arm/src/imxrt/imxrt_serial.c b/arch/arm/src/imxrt/imxrt_serial.c index f4017e76b6..301e647a44 100644 --- a/arch/arm/src/imxrt/imxrt_serial.c +++ b/arch/arm/src/imxrt/imxrt_serial.c @@ -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); }