diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-09-23 06:45:46 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-23 06:45:46 +0000 |
commit | 5c530c522715ff7d5febdbf2c9310efe27c25568 (patch) | |
tree | 1f614d9e60b56c408172304c44b59597aa1acc43 | |
parent | 2042c50b8b09dc221bbe951a90330656edaa0475 (diff) |
Bug fix: The LED was not on during writes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2368 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 5161bbd859..2451a862ba 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -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 ) |