stm32f0: rtc: remove unused variable

tags/0.1.0
S.J.R. van Schaik 8 years ago
parent fc61b55493
commit dd6579fda7
  1. 2
      source/platform/stm32f0/rtc.c

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

Loading…
Cancel
Save