commit | 8e96c47ff05cb565f93ece1372c0e38937a95eab | [log] [tgz] |
---|---|---|
author | Björn Stenberg <bjorn@haxx.se> | Fri Sep 06 23:55:52 2002 +0000 |
committer | Björn Stenberg <bjorn@haxx.se> | Fri Sep 06 23:55:52 2002 +0000 |
tree | 6d230d1d69076daca9d7ac6155dfef02443df7dd | |
parent | 3e92ef43aef1dc032da2a9a3b572d12a45b1f00e [diff] |
Made the sleep code a little bit less aggressive. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2220 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 9f02558..5161bbd 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c
@@ -473,7 +473,7 @@ break; case Q_SLEEP: - last_disk_activity = current_tick - sleep_timeout; + last_disk_activity = current_tick - sleep_timeout + (HZ/2); break; } }