summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/olympus/mrobe-100
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-13 17:27:14 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-13 17:27:14 +0000
commitc865a9b41d306a2fa0d97b68883b6675c5a407ff (patch)
tree37fb89a924b0af206387b01c0b6f2e7f67a4cb58 /firmware/target/arm/olympus/mrobe-100
parentbef8e8c2929e249c612757d21494714aa7f37086 (diff)
downloadrockbox-c865a9b41d306a2fa0d97b68883b6675c5a407ff.tar.gz
rockbox-c865a9b41d306a2fa0d97b68883b6675c5a407ff.tar.bz2
rockbox-c865a9b41d306a2fa0d97b68883b6675c5a407ff.zip
m:robe 100 - correct headphone detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16653 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus/mrobe-100')
-rw-r--r--firmware/target/arm/olympus/mrobe-100/button-mr100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/button-mr100.c b/firmware/target/arm/olympus/mrobe-100/button-mr100.c
index a03259f7b2..cfb82b51ba 100644
--- a/firmware/target/arm/olympus/mrobe-100/button-mr100.c
+++ b/firmware/target/arm/olympus/mrobe-100/button-mr100.c
@@ -613,5 +613,5 @@ bool button_hold(void)
bool headphones_inserted(void)
{
- return (GPIOD_INPUT_VAL & 0x80) ? true : false;
+ return (GPIOD_INPUT_VAL & 0x80) ? false : true;
}