[bsp] format the file which caused the unsuccessful check
This commit is contained in:
parent
b4c3086d2e
commit
6c093ad654
|
@ -38,7 +38,7 @@
|
||||||
static uint32_t UART_GetClock(UART0_Type* UARTx) {
|
static uint32_t UART_GetClock(UART0_Type* UARTx) {
|
||||||
uint32_t dividor;
|
uint32_t dividor;
|
||||||
assert_param(IS_UART_ALL_PERIPH(UARTx));
|
assert_param(IS_UART_ALL_PERIPH(UARTx));
|
||||||
|
|
||||||
if ((uint32_t)UARTx == (uint32_t)UART0) {
|
if ((uint32_t)UARTx == (uint32_t)UART0) {
|
||||||
dividor = GLOBAL_CTRL->CLK_SEL_0_b.UART0_CLK;
|
dividor = GLOBAL_CTRL->CLK_SEL_0_b.UART0_CLK;
|
||||||
} else if ((uint32_t)UARTx == (uint32_t)UART1) {
|
} else if ((uint32_t)UARTx == (uint32_t)UART1) {
|
||||||
|
|
Loading…
Reference in New Issue