We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c91b6ab commit 3a9a055Copy full SHA for 3a9a055
variants/STM32L1xx/L151RET_L152RET_L162RET/variant_NUCLEO_L152RE.cpp
@@ -119,8 +119,10 @@ WEAK void SystemClock_Config(void)
119
* Initializes the RCC Oscillators according to the specified parameters
120
* in the RCC_OscInitTypeDef structure.
121
*/
122
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_HSE;
123
RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
124
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
125
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
126
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
127
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
128
RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12;
0 commit comments