File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
variants/STM32L1xx/L151RET_L152RET_L162RET Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,10 @@ WEAK void SystemClock_Config(void)
119
119
* Initializes the RCC Oscillators according to the specified parameters
120
120
* in the RCC_OscInitTypeDef structure.
121
121
*/
122
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
122
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_HSE;
123
123
RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
124
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
125
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
124
126
RCC_OscInitStruct.PLL .PLLState = RCC_PLL_ON;
125
127
RCC_OscInitStruct.PLL .PLLSource = RCC_PLLSOURCE_HSE;
126
128
RCC_OscInitStruct.PLL .PLLMUL = RCC_PLL_MUL12;
You can’t perform that action at this time.
0 commit comments