forked from xuos/xiuos
Update imxrt_ch438.c
This commit is contained in:
parent
048c1d0ac4
commit
5aec4f1b1d
|
@ -429,7 +429,6 @@ void ImxrtCh438ReadData(uint8_t ext_uart_no)
|
||||||
pthread_cond_wait(&cond, &mutex);
|
pthread_cond_wait(&cond, &mutex);
|
||||||
if (done[ext_uart_no] == 1)
|
if (done[ext_uart_no] == 1)
|
||||||
{
|
{
|
||||||
ext_uart_no = 2;
|
|
||||||
REG_IIR_ADDR = offsetadd[ext_uart_no] | REG_IIR0_ADDR;
|
REG_IIR_ADDR = offsetadd[ext_uart_no] | REG_IIR0_ADDR;
|
||||||
REG_LSR_ADDR = offsetadd[ext_uart_no] | REG_LSR0_ADDR;
|
REG_LSR_ADDR = offsetadd[ext_uart_no] | REG_LSR0_ADDR;
|
||||||
REG_MSR_ADDR = offsetadd[ext_uart_no] | REG_MSR0_ADDR;
|
REG_MSR_ADDR = offsetadd[ext_uart_no] | REG_MSR0_ADDR;
|
||||||
|
|
Loading…
Reference in New Issue