diff options
author | Robert Kukla <roolku@rockbox.org> | 2007-03-03 00:11:20 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2007-03-03 00:11:20 +0000 |
commit | ae08eeb4ffeadb7b89f913180bdac099fc5c5071 (patch) | |
tree | f17480217ca239b14a6b4ec97d7cb45bf8840cc6 /firmware/export | |
parent | 909b9462da8387e1c8379a52058c61bf18e222e5 (diff) | |
download | rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.tar.gz rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.zip |
remove runtime detection of h1x0 series RTC MOD, but leave driver code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-h120.h | 11 | ||||
-rw-r--r-- | firmware/export/rtc.h | 7 |
2 files changed, 3 insertions, 15 deletions
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index 1791bdf78b..e7fb73ea0f 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -45,16 +45,7 @@ | |||
45 | /* Define this if you do software codec */ | 45 | /* Define this if you do software codec */ |
46 | #define CONFIG_CODEC SWCODEC | 46 | #define CONFIG_CODEC SWCODEC |
47 | 47 | ||
48 | /* Set to 1 if you want to build with RTC support */ | 48 | /* Define this if you have an remote lcd */ |
49 | #if 0 | ||
50 | #ifndef SIMULATOR | ||
51 | /* RTC is autodetected on target only */ | ||
52 | #define CONFIG_RTC RTC_DS1339_DS3231 | ||
53 | #define HAVE_RTC_ALARM | ||
54 | #endif | ||
55 | #endif | ||
56 | |||
57 | /* Define this if you have an remote lcd */ | ||
58 | #define HAVE_REMOTE_LCD | 49 | #define HAVE_REMOTE_LCD |
59 | 50 | ||
60 | #define CONFIG_LCD LCD_S1D15E06 | 51 | #define CONFIG_LCD LCD_S1D15E06 |
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 | ||
29 | extern const int monthname[]; | 30 | extern const int monthname[]; |
30 | 31 | ||
31 | #if CONFIG_RTC == RTC_DS1339_DS3231 | ||
32 | extern bool rtc_detected; | ||
33 | #endif | ||
34 | |||
35 | /* Common functions for all targets */ | 32 | /* Common functions for all targets */ |
36 | void rtc_init(void); | 33 | void rtc_init(void); |
37 | int rtc_read_datetime(unsigned char* buf); | 34 | int rtc_read_datetime(unsigned char* buf); |