Skip to content

Commit 216fca1

Browse files
committed
Merge branch 'leibin2014-master'
2 parents 01e730c + b28b71e commit 216fca1

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB

1 file changed

+1
-1
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F072RB/system_stm32f0xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ uint8_t SetSysClock_PLL_HSI(void)
444444
RCC_OscInitStruct.LSIState = RCC_LSI_OFF;
445445
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
446446
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; // HSI div 2
447-
RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1;
447+
RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV2;
448448
RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12;
449449
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) {
450450
return 0; // FAIL

0 commit comments

Comments
 (0)