diff options
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/timefuncs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index d2f42eb9ff..e266ff9acb 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h | |||
@@ -27,6 +27,8 @@ | |||
27 | struct tm *get_time(void); | 27 | struct tm *get_time(void); |
28 | int set_time(const struct tm *tm); | 28 | int set_time(const struct tm *tm); |
29 | bool valid_time(const struct tm *tm); | 29 | bool valid_time(const struct tm *tm); |
30 | #if CONFIG_RTC | ||
30 | time_t mktime(struct tm *t); | 31 | time_t mktime(struct tm *t); |
32 | #endif | ||
31 | 33 | ||
32 | #endif /* _TIMEFUNCS_H_ */ | 34 | #endif /* _TIMEFUNCS_H_ */ |