Please sign in to comment.
improvement for libbase uart.c
uart_isr, when applicable, will reset CSR_UART_STAT after it has written new data to the UART module. If the UART module is able to finish that request before uart_isr writes to CSR_UART_STAT, then uart_isr will end up clearing the wrong event. This prevents uart_isr from ever being called again, and stalls all outgoing data
- Loading branch information...