@ -76,7 +76,7 @@ int rtc_get_time(struct tm *time)
static int rtc_set_time(struct tm *time)
{
uint32_t rtc_tr, rtc_dr;
uint32_t hour, mon, year;
uint32_t mon, year;
if (!time)
return -1;