1
0
Fork 0
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:
Björn Stenberg 2003-03-17 13:42:30 +00:00
parent ed2312eec6
commit 7682d46713

View file

@ -205,6 +205,7 @@ int ata_read_sectors(unsigned long start,
count = incount; count = incount;
while (TIME_BEFORE(current_tick, timeout)) { while (TIME_BEFORE(current_tick, timeout)) {
ret = 0; ret = 0;
last_disk_activity = current_tick;
if ( count == 256 ) if ( count == 256 )
ATA_NSECTOR = 0; /* 0 means 256 sectors */ ATA_NSECTOR = 0; /* 0 means 256 sectors */