forked from len0rd/rockbox
m:robe 100 - correct headphone detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16653 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bef8e8c292
commit
c865a9b41d
1 changed files with 1 additions and 1 deletions
|
@ -613,5 +613,5 @@ bool button_hold(void)
|
||||||
|
|
||||||
bool headphones_inserted(void)
|
bool headphones_inserted(void)
|
||||||
{
|
{
|
||||||
return (GPIOD_INPUT_VAL & 0x80) ? true : false;
|
return (GPIOD_INPUT_VAL & 0x80) ? false : true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue