Reverse previous commit - it had uneffected side-effects.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7546 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonas Häggqvist 2005-09-22 21:38:22 +00:00
parent e85fe09232
commit 8026f0fe05

View file

@ -591,12 +591,7 @@ bool button_hold(void)
bool remote_button_hold(void)
{
/*
check also if the remote is plugged in
GPIO_READ = 0xDXXXXXXX => not plugged in (X don't care)
GPIO_READ = 0x9XXXXXXX => plugged in (X don't care)
*/
return ( (GPIO1_READ & 0x00100000) && !(GPIO_READ & 0x40000000) )?true:false;
return (GPIO1_READ & 0x00100000)?true:false;
}
#endif