From 5009c9c1b82493421b6cec0fdf8b4f54ec4ff02c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 4 Dec 2005 13:05:56 +0000 Subject: 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 --- apps/gui/gwps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui') 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) about to shut down. lets save the settings. */ if (wps_state.paused) { settings_save(); -#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) +#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) ata_flush(); #endif } @@ -293,7 +293,7 @@ long gui_wps_show(void) else audio_pause(); settings_save(); -#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF) +#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) ata_flush(); /* make sure resume info is saved */ #endif } -- cgit v1.2.3