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