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.zip rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.tar.gz rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.tar.bz2 rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.tar.xz | |
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 1791bdf..e7fb73e 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h @@ -45,16 +45,7 @@ /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC -/* Set to 1 if you want to build with RTC support */ -#if 0 -#ifndef SIMULATOR -/* RTC is autodetected on target only */ -#define CONFIG_RTC RTC_DS1339_DS3231 -#define HAVE_RTC_ALARM -#endif -#endif - - /* Define this if you have an remote lcd */ +/* Define this if you have an remote lcd */ #define HAVE_REMOTE_LCD #define CONFIG_LCD LCD_S1D15E06 diff --git a/firmware/export/rtc.h b/firmware/export/rtc.h index 1b0d215..eea83d8 100644 --- a/firmware/export/rtc.h +++ b/firmware/export/rtc.h @@ -20,7 +20,8 @@ #define _RTC_H_ #include <stdbool.h> -#include <system.h> +#include "system.h" +#include "config.h" #ifdef CONFIG_RTC @@ -28,10 +29,6 @@ extern const int dayname[]; extern const int monthname[]; -#if CONFIG_RTC == RTC_DS1339_DS3231 -extern bool rtc_detected; -#endif - /* Common functions for all targets */ void rtc_init(void); int rtc_read_datetime(unsigned char* buf); |