summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}