summaryrefslogtreecommitdiff
path: root/firmware/common/timefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/timefuncs.c')
-rw-r--r--firmware/common/timefuncs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/timefuncs.c b/firmware/common/timefuncs.c
index cffdb3951a..ffa6e2a0b3 100644
--- a/firmware/common/timefuncs.c
+++ b/firmware/common/timefuncs.c
@@ -71,6 +71,7 @@ struct tm *get_time(void)
71 /* Once per second, 1/10th of a second off */ 71 /* Once per second, 1/10th of a second off */
72 timeout = HZ * (current_tick / HZ + 1) + HZ / 5; 72 timeout = HZ * (current_tick / HZ + 1) + HZ / 5;
73 rtc_read_datetime(&tm); 73 rtc_read_datetime(&tm);
74 set_day_of_week(&tm);
74 75
75 tm.tm_yday = 0; /* Not implemented for now */ 76 tm.tm_yday = 0; /* Not implemented for now */
76 tm.tm_isdst = -1; /* Not implemented for now */ 77 tm.tm_isdst = -1; /* Not implemented for now */