summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2003-12-03 18:50:19 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2003-12-03 18:50:19 +0000
commit816234f431a7f4c9a0697fccbcb196494db714a1 (patch)
treebfea971c829b67738f3b822941d42d686852dc54
parenteb28d43cd7a140768207f8f270052072e440345c (diff)
downloadrockbox-816234f431a7f4c9a0697fccbcb196494db714a1.zip
rockbox-816234f431a7f4c9a0697fccbcb196494db714a1.tar.gz
rockbox-816234f431a7f4c9a0697fccbcb196494db714a1.tar.bz2
rockbox-816234f431a7f4c9a0697fccbcb196494db714a1.tar.xz
oops, a typo made the player build fail
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4097 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index a701d01..83300fe 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -105,12 +105,12 @@ void ide_power_enable(bool on)
bool ide_powered(void)
{
#if defined(NEEDS_ATA_POWER_ON) || defined(HAVE_ATA_POWER_OFF)
- if ((PACR2 & 0x0400) || !(PAIOR & 0x0020)) // not configured for output
- return true; // would be floating high, disk on
+ if ((PACR2 & 0x0400) || !(PAIOR & 0x0020)) /* not configured for output */
+ return true; /* would be floating high, disk on */
else
return (PADR & 0x0020) != 0;
#else
- return TRUE; /* pretend always powered if not controlable */
+ return true; /* pretend always powered if not controlable */
#endif
}