mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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…
Add table
Add a link
Reference in a new issue