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:
Rafaël Carré 2008-12-03 11:30:18 +00:00
parent 2c4f40692f
commit 874f4376ff

View file

@ -36,6 +36,9 @@ int button_read_device(void)
{
int result = 0;
if(button_hold())
return result;
/* direct GPIO connections */
if (GPIOA_PIN(7))