stm32f1: rtc: use external crystal

This commit is contained in:
S.J.R. van Schaik 2017-10-31 11:55:09 +01:00
parent 6fb626d601
commit 43e3476a6d

View file

@ -35,7 +35,7 @@ static int rtc_set_time(struct tm *time)
int rtc_init(struct tm *time)
{
rtc_auto_awake(RCC_LSI, 0x7fff);
rtc_auto_awake(RCC_LSE, 0x7fff);
rtc_set_time(time);
return 0;