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 /firmware | |
parent | dad5de672f63b1537a0ce480e98a118c7d819180 (diff) | |
download | rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.gz rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.zip |
Oops! Wrong polarity in ide_powered() for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 8117f12902..0d490242b5 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -182,7 +182,7 @@ void ide_power_enable(bool on) | |||
182 | bool ide_powered(void) | 182 | bool ide_powered(void) |
183 | { | 183 | { |
184 | #ifdef IRIVER_H100 | 184 | #ifdef IRIVER_H100 |
185 | return (GPIO_OUT & 0x80000000)?true:false; | 185 | return (GPIO_OUT & 0x80000000)?false:true; |
186 | #else | 186 | #else |
187 | #if defined(NEEDS_ATA_POWER_ON) || defined(HAVE_ATA_POWER_OFF) | 187 | #if defined(NEEDS_ATA_POWER_ON) || defined(HAVE_ATA_POWER_OFF) |
188 | #ifdef ATA_POWER_PLAYERSTYLE | 188 | #ifdef ATA_POWER_PLAYERSTYLE |