1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2006-11-26 09:53:42 +00:00
parent e25c840b98
commit 4049d44b03
5 changed files with 17 additions and 13 deletions

View file

@ -1285,7 +1285,7 @@ static void ata_thread(void)
break;
#endif
case Q_SLEEP:
call_ata_idle_notifys(true);
call_ata_idle_notifys(false);
last_disk_activity = current_tick - sleep_timeout + (HZ/2);
break;