summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-11-26 09:53:42 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-11-26 09:53:42 +0000
commit4049d44b03d4a17cbf2f48f5f1360ac397da5ef5 (patch)
tree821366dcb8e02a3045976f7b24e78565b817f854 /apps/gui/gwps.c
parente25c840b982fbdf9c61f789e08df244f7cb91845 (diff)
dont allow the ata callbacks to be run less than once every 30s unless
explicitly forced to. The sleep_after param is only true in the Q_SLEEP event, so its uneeded, so removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 482442cb53..9dabe2c733 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -141,7 +141,7 @@ long gui_wps_show(void)
if (wps_state.paused) {
settings_save();
#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
- call_ata_idle_notifys(false);
+ call_ata_idle_notifys(true);
#endif
}
}
@@ -255,7 +255,7 @@ long gui_wps_show(void)
audio_pause();
settings_save();
#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
- call_ata_idle_notifys(false); /* make sure resume info is saved */
+ call_ata_idle_notifys(true); /* make sure resume info is saved */
#endif
}
break;