fix: STM32H7S78_DK compilation (#5984)

This commit is contained in:
3djc
2025-03-13 18:31:59 +10:00
committed by GitHub
parent 5bb7612040
commit 5b67626c30
@@ -70,7 +70,9 @@ void rtcInit()
// Enable LSE Oscillator
RCC_OscInitTypeDef RCC_OscInitStruct;
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE;
#if !defined(STM32H7RS) && !defined(STM32H5)
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
#endif
RCC_OscInitStruct.LSEState = RCC_LSE_ON;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) == HAL_OK) {