Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/9911
Change subject: UART: remove unused code ...................................................................... UART: remove unused code PutChar already takes care of enabling the IRQ Change-Id: I63af5eba27c9a6f3e23412060028e817e4d9f233 --- M firmware/libboard/common/source/uart_console.c 1 file changed, 0 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/11/9911/1 diff --git a/firmware/libboard/common/source/uart_console.c b/firmware/libboard/common/source/uart_console.c index 9004197..07f41ed 100644 --- a/firmware/libboard/common/source/uart_console.c +++ b/firmware/libboard/common/source/uart_console.c @@ -125,7 +125,6 @@ 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; -- To view, visit https://gerrit.osmocom.org/9911 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I63af5eba27c9a6f3e23412060028e817e4d9f233 Gerrit-Change-Number: 9911 Gerrit-PatchSet: 1 Gerrit-Owner: Kévin Redon <kre...@sysmocom.de>