@ -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;