forked from len0rd/rockbox
Made the sleep code a little bit less aggressive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2220 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3e92ef43ae
commit
8e96c47ff0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue