Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Jun 12, 2024
1 parent 1b7e140 commit af1d518
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/PeriphDrivers/Source/UART/uart_reva.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ typedef struct {
bool auto_dma_handlers;
} uart_reva_req_state_t;

// clang-format off
uart_reva_req_state_t states[MXC_UART_INSTANCES] = {
[0 ... MXC_UART_INSTANCES - 1] = {
.tx_req = NULL,
Expand All @@ -59,6 +60,7 @@ uart_reva_req_state_t states[MXC_UART_INSTANCES] = {
.auto_dma_handlers = false
}
};
// clang-format on

/* **** Function Prototypes **** */

Expand Down
2 changes: 2 additions & 0 deletions Libraries/PeriphDrivers/Source/UART/uart_revb.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ typedef struct {
bool auto_dma_handlers;
} uart_revb_req_state_t;

// clang-format off
uart_revb_req_state_t states[MXC_UART_INSTANCES] = {
[0 ... MXC_UART_INSTANCES - 1] = {
.tx_req = NULL,
Expand All @@ -57,6 +58,7 @@ uart_revb_req_state_t states[MXC_UART_INSTANCES] = {
.auto_dma_handlers = false
}
};
// clang-format on

/* **** Function Prototypes **** */

Expand Down

0 comments on commit af1d518

Please sign in to comment.