Bug fix: The LED was not on during writes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2368 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2042c50b8b
commit
5c530c5227
1 changed files with 2 additions and 2 deletions
|
@ -327,11 +327,11 @@ int ata_write_sectors(unsigned long start,
|
|||
buf += SECTOR_SIZE;
|
||||
}
|
||||
|
||||
led(false);
|
||||
|
||||
if(!wait_for_end_of_transfer())
|
||||
i = -3;
|
||||
|
||||
led(false);
|
||||
|
||||
mutex_unlock(&ata_mtx);
|
||||
|
||||
if ( delayed_write )
|
||||
|
|
Loading…
Reference in a new issue