diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-12-20 01:34:45 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-12-20 01:34:45 +0000 |
| commit | 474bbb36adb1168ba176b02e29bc77aa76c1c1b4 (patch) | |
| tree | 5b407dee66515576ac1d9a4fb16ac0fa69a840e3 | |
| parent | dad5de672f63b1537a0ce480e98a118c7d819180 (diff) | |
| download | rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.zip rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.gz rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.bz2 rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.xz | |
Oops! Wrong polarity in ide_powered() for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 8117f12..0d49024 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c @@ -182,7 +182,7 @@ void ide_power_enable(bool on) bool ide_powered(void) { #ifdef IRIVER_H100 - return (GPIO_OUT & 0x80000000)?true:false; + return (GPIO_OUT & 0x80000000)?false:true; #else #if defined(NEEDS_ATA_POWER_ON) || defined(HAVE_ATA_POWER_OFF) #ifdef ATA_POWER_PLAYERSTYLE |