Skip to content

Commit

Permalink
Update variants/STM32C0xx/C011J(4-6)M/generic_clock.c
Browse files Browse the repository at this point in the history
Co-authored-by: Frederic Pillon <[email protected]>
Signed-off-by: Alexander Nagelberg <[email protected]>
  • Loading branch information
alexnagelberg and fpistm authored May 7, 2024
1 parent fd4b5b2 commit 0473f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variants/STM32C0xx/C011J(4-6)M/generic_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ WEAK void SystemClock_Config(void)

/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1;
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
| RCC_CLOCKTYPE_PCLK1;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1;
Expand Down

0 comments on commit 0473f01

Please sign in to comment.