summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_pcf50605.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/rtc/rtc_pcf50605.c')
-rw-r--r--firmware/drivers/rtc/rtc_pcf50605.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/rtc/rtc_pcf50605.c b/firmware/drivers/rtc/rtc_pcf50605.c
index daa35fb13f..42ea15ff2e 100644
--- a/firmware/drivers/rtc/rtc_pcf50605.c
+++ b/firmware/drivers/rtc/rtc_pcf50605.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 rc; 59 return rc;
60} 60}