chip/max32660/uart_chip.c: Format with clang-format
BRANCH=none
TEST=none
@@ -242,7 +242,8 @@ void uart_init(void)
gpio_config_module(MODULE_UART, 1);
/* Drain FIFOs and enable UART and set configuration */
- MXC_UART->ctrl = (MXC_F_UART_CTRL_ENABLE | MXC_S_UART_CTRL_CHAR_SIZE_8 | 1);
+ MXC_UART->ctrl =
+ (MXC_F_UART_CTRL_ENABLE | MXC_S_UART_CTRL_CHAR_SIZE_8 | 1);
/* Set the baud rate */
div = PeripheralClock / (UART_BAUD); // constant part of DIV (i.e. DIV
@@ -252,8 +253,8 @@ void uart_init(void)
factor += 1;
baud0 = div >> (7 - factor); // divide by 128,64,32,16 to
// extract integer part
- baud1 = ((div << factor) -
- (baud0 << 7)); // subtract factor corrected div -
+ baud1 = ((div << factor) - (baud0 << 7)); // subtract factor
+ // corrected div -
// integer parts
} while ((baud0 == 0) && (factor < 4));
