diff options
Diffstat (limited to 'firmware/drivers/rtc/rtc_d2.c')
-rw-r--r-- | firmware/drivers/rtc/rtc_d2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/rtc/rtc_d2.c b/firmware/drivers/rtc/rtc_d2.c index 1d202410e2..726564a255 100644 --- a/firmware/drivers/rtc/rtc_d2.c +++ b/firmware/drivers/rtc/rtc_d2.c | |||
@@ -53,9 +53,9 @@ int rtc_read_datetime(struct tm *tm) | |||
53 | tm->tm_mday = buf[4]; | 53 | tm->tm_mday = buf[4]; |
54 | tm->tm_mon = buf[5] - 1; | 54 | tm->tm_mon = buf[5] - 1; |
55 | tm->tm_year = buf[6] + 100; | 55 | tm->tm_year = buf[6] + 100; |
56 | tm->tm_yday = 0; /* Not implemented for now */ | ||
57 | 56 | ||
58 | set_day_of_week(tm); | 57 | set_day_of_week(tm); |
58 | set_day_of_year(tm); | ||
59 | 59 | ||
60 | return rc; | 60 | return rc; |
61 | } | 61 | } |