Skip to content

Commit

Permalink
added terminal flush to 690
Browse files Browse the repository at this point in the history
  • Loading branch information
EricB-ADI committed Oct 4, 2024
1 parent 75bc2c3 commit 02cf6c5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 02cf6c5

Please sign in to comment.