diff --git a/firmware/app_layer_v1/uart.c b/firmware/app_layer_v1/uart.c index cc8af1c3b..c6fecca48 100644 --- a/firmware/app_layer_v1/uart.c +++ b/firmware/app_layer_v1/uart.c @@ -175,10 +175,7 @@ static void RXInterrupt(int uart_num) { BYTE_QUEUE* q = &uarts[uart_num].rx_queue; while (reg->uxsta & 0x0001) { BYTE b = reg->uxrxreg; - if ((reg->uxsta & 0x000C) == 0) { - // there is no frame/parity err - ByteQueuePushByte(q, b); - } // Otherwise, discard + ByteQueuePushByte(q, b); // It is OK to clear the interrupt now, since we're just about to poll for // any remaining characters in the FIFO, so we'll never miss an interrupt. AssignUxRXIF(uart_num, 0);