[X9D] Buffer overflow in BMP code

[X9D] External clock for RTC
This commit is contained in:
bernet.andre@gmail.com
2013-01-10 09:55:14 +00:00
parent 20900734b8
commit d82e8a9359
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ void rtc_init()
RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE);
PWR_BackupAccessCmd(ENABLE);
RCC_RTCCLKConfig(RCC_RTCCLKSource_LSI);
RCC_RTCCLKConfig(RCC_RTCCLKSource_LSE);
RCC_RTCCLKCmd(ENABLE);
RTC_InitStruct.RTC_HourFormat = RTC_HourFormat_24;