fix: RTC issue causing time reset and lag on colorlcd (#5902)

This commit is contained in:
3djc
2025-02-14 09:10:08 +10:00
committed by GitHub
parent c766a0dcff
commit 30c4784f46
@@ -72,7 +72,7 @@ void rtcInit()
// Enable LSE Oscillator
RCC_OscInitTypeDef RCC_OscInitStruct;
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE;
// RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
RCC_OscInitStruct.LSEState = RCC_LSE_ON;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) == HAL_OK) {