summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_mr100.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/rtc/rtc_mr100.c')
-rw-r--r--firmware/drivers/rtc/rtc_mr100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/rtc/rtc_mr100.c b/firmware/drivers/rtc/rtc_mr100.c
index 6e1b0b5f40..2f44137e38 100644
--- a/firmware/drivers/rtc/rtc_mr100.c
+++ b/firmware/drivers/rtc/rtc_mr100.c
@@ -144,9 +144,9 @@ int rtc_read_datetime(struct tm *tm)
144 tm->tm_mday = buf[2]; 144 tm->tm_mday = buf[2];
145 tm->tm_mon = buf[1] - 1; 145 tm->tm_mon = buf[1] - 1;
146 tm->tm_year = buf[0] + 100; 146 tm->tm_year = buf[0] + 100;
147 tm->tm_yday = 0; /* Not implemented for now */
148 147
149 set_day_of_week(tm); 148 set_day_of_week(tm);
149 set_day_of_year(tm);
150 150
151 return rc; 151 return rc;
152} 152}