We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294f586 commit 6d50534Copy full SHA for 6d50534
ports/stm/peripherals/stm32l4/clocks.c
@@ -84,14 +84,14 @@ void stm32_peripherals_clocks_init(void) {
84
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV7;
85
RCC_OscInitStruct.PLL.PLLQ = RCC_PLLQ_DIV2;
86
RCC_OscInitStruct.PLL.PLLR = RCC_PLLR_DIV2;
87
-
88
- __HAL_RCC_HSI48_ENABLE();
89
#endif
90
91
HAL_CHECK(HAL_RCC_OscConfig(&RCC_OscInitStruct));
92
+ #ifdef STM32L4R5xx
93
/* Enable MSI Auto-calibration through LSE */
94
HAL_RCCEx_EnableMSIPLLMode();
+ #endif
95
96
/* Select PLL as system clock source and configure the HCLK, PCLK1 and PCLK2
97
clocks dividers */
0 commit comments