Skip to content

Commit 0473f01

Browse files
Update variants/STM32C0xx/C011J(4-6)M/generic_clock.c
Co-authored-by: Frederic Pillon <[email protected]> Signed-off-by: Alexander Nagelberg <[email protected]>
1 parent fd4b5b2 commit 0473f01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: variants/STM32C0xx/C011J(4-6)M/generic_clock.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ WEAK void SystemClock_Config(void)
3636

3737
/** Initializes the CPU, AHB and APB buses clocks
3838
*/
39-
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
40-
|RCC_CLOCKTYPE_PCLK1;
39+
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
40+
| RCC_CLOCKTYPE_PCLK1;
4141
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
4242
RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
4343
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1;

0 commit comments

Comments
 (0)