summaryrefslogtreecommitdiff
path: root/firmware/include/timefuncs.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/timefuncs.h')
-rw-r--r--firmware/include/timefuncs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h
index 52d4608..e9ef807 100644
--- a/firmware/include/timefuncs.h
+++ b/firmware/include/timefuncs.h
@@ -29,7 +29,7 @@
struct tm *get_time(void);
int set_time(const struct tm *tm);
bool valid_time(const struct tm *tm);
-int day_of_week(int m, int d, int y);
+void set_day_of_week(struct tm *tm);
void yearday_to_daymonth(int yd, int y, int *d, int *m);
#if CONFIG_RTC
time_t mktime(struct tm *t);