diff options
author | Dave Chapman <dave@dchapman.com> | 2005-12-04 13:05:56 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-12-04 13:05:56 +0000 |
commit | 5009c9c1b82493421b6cec0fdf8b4f54ec4ff02c (patch) | |
tree | 8a0d770854730bc01561e0e8418b123f27ccb09c /apps/gui/gwps.c | |
parent | 11b2ade5c80d6bcd95f65ac1e3aed9dbf59690c5 (diff) | |
download | rockbox-5009c9c1b82493421b6cec0fdf8b4f54ec4ff02c.tar.gz rockbox-5009c9c1b82493421b6cec0fdf8b4f54ec4ff02c.zip |
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
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r-- | apps/gui/gwps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 6e0551745a..05c33a0568 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -135,7 +135,7 @@ long gui_wps_show(void) | |||
135 | about to shut down. lets save the settings. */ | 135 | about to shut down. lets save the settings. */ |
136 | if (wps_state.paused) { | 136 | if (wps_state.paused) { |
137 | settings_save(); | 137 | settings_save(); |
138 | #if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) | 138 | #if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) |
139 | ata_flush(); | 139 | ata_flush(); |
140 | #endif | 140 | #endif |
141 | } | 141 | } |
@@ -293,7 +293,7 @@ long gui_wps_show(void) | |||
293 | else | 293 | else |
294 | audio_pause(); | 294 | audio_pause(); |
295 | settings_save(); | 295 | settings_save(); |
296 | #if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) | 296 | #if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) |
297 | ata_flush(); /* make sure resume info is saved */ | 297 | ata_flush(); /* make sure resume info is saved */ |
298 | #endif | 298 | #endif |
299 | } | 299 | } |