Skip to content

Commit

Permalink
Remove UART FIFO clears in me21 file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Oct 25, 2023
1 parent 2ea9524 commit aba737e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Libraries/PeriphDrivers/Source/UART/uart_me21.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,25 +512,16 @@ unsigned int MXC_UART_GetStatus(mxc_uart_regs_t *uart)

int MXC_UART_Transaction(mxc_uart_req_t *req)
{
MXC_UART_ClearRXFIFO(req->uart);
MXC_UART_ClearTXFIFO(req->uart);

return MXC_UART_RevB_Transaction((mxc_uart_revb_req_t *)req);
}

int MXC_UART_TransactionAsync(mxc_uart_req_t *req)
{
MXC_UART_ClearRXFIFO(req->uart);
MXC_UART_ClearTXFIFO(req->uart);

return MXC_UART_RevB_TransactionAsync((mxc_uart_revb_req_t *)req);
}

int MXC_UART_TransactionDMA(mxc_uart_req_t *req)
{
MXC_UART_ClearRXFIFO(req->uart);
MXC_UART_ClearTXFIFO(req->uart);

return MXC_UART_RevB_TransactionDMA((mxc_uart_revb_req_t *)req);
}

Expand Down

0 comments on commit aba737e

Please sign in to comment.