From 8e96c47ff05cb565f93ece1372c0e38937a95eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 6 Sep 2002 23:55:52 +0000 Subject: [PATCH] Made the sleep code a little bit less aggressive. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2220 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 9f025588ff..5161bbd859 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -473,7 +473,7 @@ static void ata_thread(void) break; case Q_SLEEP: - last_disk_activity = current_tick - sleep_timeout; + last_disk_activity = current_tick - sleep_timeout + (HZ/2); break; } }