diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-04-30 09:23:12 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-04-30 09:23:12 +0000 |
| commit | 327f845adf7a0d831a235f370ef2eb1636abaab6 (patch) | |
| tree | f89a6f847af69f65c644bbae4da10d7a383d2cdc /firmware/export | |
| parent | bce419d89062e842b65353f942cb6624d861a2aa (diff) | |
| download | rockbox-327f845adf7a0d831a235f370ef2eb1636abaab6.zip rockbox-327f845adf7a0d831a235f370ef2eb1636abaab6.tar.gz rockbox-327f845adf7a0d831a235f370ef2eb1636abaab6.tar.bz2 rockbox-327f845adf7a0d831a235f370ef2eb1636abaab6.tar.xz | |
remove the 2nd last evil use of ata_disk_is_active() in apps/
the last abuse is in battery bench
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17292 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/ata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h index d332330..35538f6 100644 --- a/firmware/export/ata.h +++ b/firmware/export/ata.h @@ -40,6 +40,10 @@ extern void ata_enable(bool on); extern void ata_spindown(int seconds); extern void ata_sleep(void); extern void ata_sleepnow(void); +/* NOTE: DO NOT use this to poll for disk activity. + If you are waiting for the disk to become active before + doing something use ata_idle_notify.h + */ extern bool ata_disk_is_active(void); extern int ata_hard_reset(void); extern int ata_soft_reset(void); |