forked from len0rd/rockbox
Split the HAVE_RTC define into HAVE_RTC, HAVE_RTC_RAM and CONFIG_RTC - in preparation for targets (H300, iPod) which have a clock (HAVE_RTC) but no general purpose RAM available for settings data (HAVE_RTC_RAM). CONFIG_RTC is used to specify the low-level driver required.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8144 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
11b2ade5c8
commit
5009c9c1b8
9 changed files with 38 additions and 5 deletions
|
|
@ -228,6 +228,8 @@ void init(void)
|
|||
|
||||
#ifdef HAVE_RTC
|
||||
rtc_init();
|
||||
#endif
|
||||
#ifdef HAVE_RTC_RAM
|
||||
settings_load(SETTINGS_RTC); /* early load parts of global_settings */
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue