stm32f0: rtc: remove unused variable
This commit is contained in:
parent
fc61b55493
commit
dd6579fda7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue