diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-26 09:53:42 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-26 09:53:42 +0000 |
| commit | 4049d44b03d4a17cbf2f48f5f1360ac397da5ef5 (patch) | |
| tree | 821366dcb8e02a3045976f7b24e78565b817f854 /apps/misc.c | |
| parent | e25c840b982fbdf9c61f789e08df244f7cb91845 (diff) | |
| download | rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.zip rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.gz rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.bz2 rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.xz | |
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/misc.c')
| -rw-r--r-- | apps/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index 709bc49..2f32514 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -555,7 +555,7 @@ bool settings_parseline(char* line, char** name, char** value) static void system_flush(void) { - call_ata_idle_notifys(false); /*doesnt work on usb and shutdown from ata thread */ + call_ata_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */ tree_flush(); } @@ -569,7 +569,7 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) #ifdef SIMULATOR (void)callback; (void)parameter; - call_ata_idle_notifys(false); + call_ata_idle_notifys(true); exit(0); #else int i; |