summaryrefslogtreecommitdiffstats
path: root/apps/gui
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-15 17:14:06 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-08-15 20:41:58 +0100
commit5a4cc8da3fd4fa7cd3b89ac8d636fe8ef77ee9e0 (patch)
treec7c7b3b754d74fe06e5a5453e37df81341b0b00e /apps/gui
parentde578bde1fb283027545b4a6a3292e39d0a1f1a7 (diff)
downloadrockbox-5a4cc8da3fd4fa7cd3b89ac8d636fe8ef77ee9e0.tar.gz
rockbox-5a4cc8da3fd4fa7cd3b89ac8d636fe8ef77ee9e0.zip
Drop HAVE_RTC_RAM
Only Archos players ever used this feature and it isn't implemented on any current targets. Change-Id: I39c8455480a3fe33cd25b667e8d4d6ff3a092d3e
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/wps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index e491d6f35b..cdb34ab447 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -584,7 +584,7 @@ void wps_do_playpause(bool updatewps)
state->paused = true;
pause_action(true, updatewps);
settings_save();
-#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
+#if !defined(HAVE_SW_POWEROFF)
call_storage_idle_notifys(true); /* make sure resume info is saved */
#endif
}
@@ -630,7 +630,7 @@ long gui_wps_show(void)
about to shut down. lets save the settings. */
if (state->paused) {
settings_save();
-#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
+#if !defined(HAVE_SW_POWEROFF)
call_storage_idle_notifys(true);
#endif
}