Update uart.c

added read of register ISR to clear interrupt source of UART16550.
This commit is contained in:
x653 2023-02-17 13:03:20 +01:00 committed by Frans Kaashoek
parent 343d1ab482
commit 72cb3849eb

View file

@ -136,6 +136,7 @@ uartstart()
while(1){
if(uart_tx_w == uart_tx_r){
// transmit buffer is empty.
ReadReg(ISR);
return;
}