mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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:
parent
77d9b040fc
commit
22d790bd12
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue