mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
UART: remove unused code
PutChar already takes care of enabling the IRQ Change-Id: I63af5eba27c9a6f3e23412060028e817e4d9f233
This commit is contained in:
@@ -125,7 +125,6 @@ void CONSOLE_ISR(void)
|
||||
Uart *uart = CONSOLE_UART;
|
||||
if (uart->UART_SR & UART_SR_TXRDY) {
|
||||
if (!rbuf_is_empty(&uart_tx_buffer)) {
|
||||
//uart->UART_IER = UART_IER_TXRDY;
|
||||
uart->UART_THR = rbuf_read(&uart_tx_buffer);
|
||||
} else {
|
||||
uart->UART_IDR = UART_IER_TXRDY;
|
||||
|
||||
Reference in New Issue
Block a user