summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/timefuncs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/common/timefuncs.c b/firmware/common/timefuncs.c
index ffa6e2a0b3..c8819ea76e 100644
--- a/firmware/common/timefuncs.c
+++ b/firmware/common/timefuncs.c
@@ -71,9 +71,6 @@ 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);
75
76 tm.tm_yday = 0; /* Not implemented for now */
77 tm.tm_isdst = -1; /* Not implemented for now */ 74 tm.tm_isdst = -1; /* Not implemented for now */
78 } 75 }
79#else /* No RTC */ 76#else /* No RTC */