diff --git a/Libraries/Cordio/platform/targets/maxim/max32690/sources/pal_uart.c b/Libraries/Cordio/platform/targets/maxim/max32690/sources/pal_uart.c index b5b49f3ccc..d77c04b062 100644 --- a/Libraries/Cordio/platform/targets/maxim/max32690/sources/pal_uart.c +++ b/Libraries/Cordio/platform/targets/maxim/max32690/sources/pal_uart.c @@ -90,7 +90,12 @@ void UART_CommonHandler(mxc_uart_regs_t *uart) { const uint8_t uartIdx = MXC_UART_GET_IDX(uart); - if( uartIdx == CONSOLE_UART || uartIdx == HCI_UART) + if(uartIdx == CONSOLE_UART) + { + TerminalFlush(); + MXC_UART_ClearRXFIFO(uart); + } + else if(uartIdx == HCI_UART) { MXC_UART_ClearRXFIFO(uart); }