From 6d07949bfd41623f15e23c4f88570b2aab9aa23a Mon Sep 17 00:00:00 2001 From: Kevin Gillespie Date: Fri, 6 Dec 2024 09:30:39 -0600 Subject: [PATCH] Fixing formatting. --- Libraries/PeriphDrivers/Source/UART/uart_revb.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Libraries/PeriphDrivers/Source/UART/uart_revb.c b/Libraries/PeriphDrivers/Source/UART/uart_revb.c index 49d3214e48..14a98f7cbf 100644 --- a/Libraries/PeriphDrivers/Source/UART/uart_revb.c +++ b/Libraries/PeriphDrivers/Source/UART/uart_revb.c @@ -644,7 +644,8 @@ int MXC_UART_RevB_Transaction(mxc_uart_revb_req_t *req) numToWrite; req->txCnt += MXC_UART_WriteTXFIFO((mxc_uart_regs_t *)(req->uart), &req->txData[req->txCnt], numToWrite); - MXC_UART_ClearFlags((mxc_uart_regs_t *)(req->uart), (MXC_F_UART_REVB_INT_FL_TX_HE | MXC_F_UART_REVB_INT_FL_TX_OR)); + MXC_UART_ClearFlags((mxc_uart_regs_t *)(req->uart), + (MXC_F_UART_REVB_INT_FL_TX_HE | MXC_F_UART_REVB_INT_FL_TX_OR)); } } @@ -709,7 +710,8 @@ int MXC_UART_RevB_TransactionAsync(mxc_uart_revb_req_t *req) NVIC_SetPendingIRQ(MXC_UART_GET_IRQ(uart_num)); } else { /* Else enable the half empty interrupt */ - MXC_UART_EnableInt((mxc_uart_regs_t *)(req->uart), (MXC_F_UART_REVB_INT_EN_TX_HE | MXC_F_UART_REVB_INT_EN_TX_OR)); + MXC_UART_EnableInt((mxc_uart_regs_t *)(req->uart), + (MXC_F_UART_REVB_INT_EN_TX_HE | MXC_F_UART_REVB_INT_EN_TX_OR)); } } @@ -783,7 +785,8 @@ int MXC_UART_RevB_AsyncCallback(mxc_uart_revb_regs_t *uart, int retVal) int MXC_UART_RevB_AsyncStopTx(mxc_uart_revb_regs_t *uart) { - MXC_UART_DisableInt((mxc_uart_regs_t *)uart, (MXC_F_UART_REVB_INT_EN_TX_HE | MXC_F_UART_REVB_INT_EN_TX_OR)); + MXC_UART_DisableInt((mxc_uart_regs_t *)uart, + (MXC_F_UART_REVB_INT_EN_TX_HE | MXC_F_UART_REVB_INT_EN_TX_OR)); return E_NO_ERROR; } @@ -838,7 +841,8 @@ int MXC_UART_RevB_AsyncHandler(mxc_uart_revb_regs_t *uart) numToWrite = MXC_UART_WriteTXFIFO((mxc_uart_regs_t *)(req->uart), &req->txData[req->txCnt], numToWrite); req->txCnt += numToWrite; - MXC_UART_ClearFlags(req->uart, (MXC_F_UART_REVB_INT_FL_TX_HE | MXC_F_UART_REVB_INT_FL_TX_OR)); + MXC_UART_ClearFlags(req->uart, + (MXC_F_UART_REVB_INT_FL_TX_HE | MXC_F_UART_REVB_INT_FL_TX_OR)); } req = (mxc_uart_req_t *)AsyncRxRequests[uart_num];