Sansa AMS: ignore buttons when hold switch is on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19311 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c4f40692f
commit
874f4376ff
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ int button_read_device(void)
|
|||
{
|
||||
int result = 0;
|
||||
|
||||
if(button_hold())
|
||||
return result;
|
||||
|
||||
/* direct GPIO connections */
|
||||
|
||||
if (GPIOA_PIN(7))
|
||||
|
|
Loading…
Reference in a new issue