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 0473f01 commit 282ddd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions variants/STM32C0xx/C011J(4-6)M/generic_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ WEAK void SystemClock_Config(void)
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV1;

if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
{
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK) {
Error_Handler();
}
}
Expand Down

0 comments on commit 282ddd7

Please sign in to comment.