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)
downloadrockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.gz
rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.zip
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)
141 if (wps_state.paused) { 141 if (wps_state.paused) {
142 settings_save(); 142 settings_save();
143#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) 143#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
144 call_ata_idle_notifys(false); 144 call_ata_idle_notifys(true);
145#endif 145#endif
146 } 146 }
147 } 147 }
@@ -255,7 +255,7 @@ long gui_wps_show(void)
255 audio_pause(); 255 audio_pause();
256 settings_save(); 256 settings_save();
257#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF) 257#if !defined(HAVE_RTC_RAM) && !defined(HAVE_SW_POWEROFF)
258 call_ata_idle_notifys(false); /* make sure resume info is saved */ 258 call_ata_idle_notifys(true); /* make sure resume info is saved */
259#endif 259#endif
260 } 260 }
261 break; 261 break;