summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-12-20 01:34:45 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-12-20 01:34:45 +0000
commit474bbb36adb1168ba176b02e29bc77aa76c1c1b4 (patch)
tree5b407dee66515576ac1d9a4fb16ac0fa69a840e3 /firmware
parentdad5de672f63b1537a0ce480e98a118c7d819180 (diff)
downloadrockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.gz
rockbox-474bbb36adb1168ba176b02e29bc77aa76c1c1b4.tar.bz2
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.c2
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)
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