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 86a41a516b..4c5f0fbb42 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h | |||
@@ -28,8 +28,10 @@ | |||
28 | 28 | ||
29 | struct tm *get_time(void); | 29 | struct tm *get_time(void); |
30 | int set_time(const struct tm *tm); | 30 | int set_time(const struct tm *tm); |
31 | #if CONFIG_RTC | ||
31 | bool valid_time(const struct tm *tm); | 32 | bool valid_time(const struct tm *tm); |
32 | void set_day_of_week(struct tm *tm); | 33 | void set_day_of_week(struct tm *tm); |
34 | #endif | ||
33 | 35 | ||
34 | #endif /* _TIMEFUNCS_H_ */ | 36 | #endif /* _TIMEFUNCS_H_ */ |
35 | 37 | ||