forked from len0rd/rockbox
Don't spin down disk while retrying
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3457 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ed2312eec6
commit
7682d46713
1 changed files with 1 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ int ata_read_sectors(unsigned long start,
|
|||
count = incount;
|
||||
while (TIME_BEFORE(current_tick, timeout)) {
|
||||
ret = 0;
|
||||
last_disk_activity = current_tick;
|
||||
|
||||
if ( count == 256 )
|
||||
ATA_NSECTOR = 0; /* 0 means 256 sectors */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue