1
0
Fork 0
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:
Robert Kukla 2008-03-13 17:27:14 +00:00
parent bef8e8c292
commit c865a9b41d

View file

@ -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;
}