Fix headphone detection on iPod Nano 2G being inverted (regression from r28800)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28843 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2010-12-16 19:54:24 +00:00
parent 77d9b040fc
commit 22d790bd12

View file

@ -391,7 +391,7 @@ bool button_hold(void)
bool headphones_inserted(void)
{
#if CONFIG_CPU==S5L8701
return ((PDAT14 & (1 << 5)) == 0);
return ((PDAT14 & (1 << 5)) != 0);
#elif CONFIG_CPU==S5L8702
//TODO: Implement
return false;