mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-01 13:27:55 +08:00
@@ -173,6 +173,8 @@ static void imx_uart_interrupt(void *arg)
|
||||
regs = ctx->regs;
|
||||
usr2 = regs->usr2;
|
||||
|
||||
regs->usr1 = IMX_UART_USR1_AGTIM;
|
||||
|
||||
while ((usr2 & IMX_UART_USR2_RDR) != 0) {
|
||||
char c;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user