summaryrefslogtreecommitdiff
path: root/firmware/export/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/rtc.h')
-rw-r--r--firmware/export/rtc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/export/rtc.h b/firmware/export/rtc.h
index 1b0d215371..eea83d85bb 100644
--- a/firmware/export/rtc.h
+++ b/firmware/export/rtc.h
@@ -20,7 +20,8 @@
20#define _RTC_H_ 20#define _RTC_H_
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23#include <system.h> 23#include "system.h"
24#include "config.h"
24 25
25#ifdef CONFIG_RTC 26#ifdef CONFIG_RTC
26 27
@@ -28,10 +29,6 @@ extern const int dayname[];
28 29
29extern const int monthname[]; 30extern const int monthname[];
30 31
31#if CONFIG_RTC == RTC_DS1339_DS3231
32extern bool rtc_detected;
33#endif
34
35/* Common functions for all targets */ 32/* Common functions for all targets */
36void rtc_init(void); 33void rtc_init(void);
37int rtc_read_datetime(unsigned char* buf); 34int rtc_read_datetime(unsigned char* buf);