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:
Björn Stenberg 2002-09-23 06:45:46 +00:00
parent 2042c50b8b
commit 5c530c5227

View file

@ -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 )