diff options
Diffstat (limited to 'firmware/export/rtc.h')
-rw-r--r-- | firmware/export/rtc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/rtc.h b/firmware/export/rtc.h index fd793bc887..88413c795f 100644 --- a/firmware/export/rtc.h +++ b/firmware/export/rtc.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include <stdbool.h> | 22 | #include <stdbool.h> |
23 | 23 | ||
24 | #ifdef HAVE_RTC | 24 | #ifdef CONFIG_RTC |
25 | void rtc_init(void); | 25 | void rtc_init(void); |
26 | int rtc_read(unsigned char address); | 26 | int rtc_read(unsigned char address); |
27 | int rtc_read_multiple(unsigned char address, unsigned char *buf, int numbytes); | 27 | int rtc_read_multiple(unsigned char address, unsigned char *buf, int numbytes); |
@@ -35,6 +35,6 @@ bool rtc_check_alarm_started(bool release_alarm); | |||
35 | bool rtc_check_alarm_flag(void); | 35 | bool rtc_check_alarm_flag(void); |
36 | #endif /* HAVE_ALARM_MOD */ | 36 | #endif /* HAVE_ALARM_MOD */ |
37 | 37 | ||
38 | #endif /* HAVE_RTC */ | 38 | #endif /* CONFIG_RTC */ |
39 | 39 | ||
40 | #endif | 40 | #endif |