mirror of https://github.com/ARMmbed/mbed-os.git
Update LSI typical value to 38MHz (datasheet value)
MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms.pull/1629/head
parent
3d6e522177
commit
481a451f2c
|
@ -87,7 +87,7 @@ void rtc_init(void)
|
|||
__HAL_RCC_RTC_CLKPRESCALER(RCC_RTCCLKSOURCE_LSI);
|
||||
__HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSI);
|
||||
// This value is LSI typical value. To be measured precisely using a timer input capture for example.
|
||||
rtc_freq = 32000;
|
||||
rtc_freq = 38000;
|
||||
#endif
|
||||
|
||||
// Enable RTC
|
||||
|
|
Loading…
Reference in New Issue