D2: Take notice of the hold button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17773 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7a36b22f17
commit
3ca42e4aac
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ int button_read_device(int *data)
|
|||
int btn = BUTTON_NONE;
|
||||
int adc;
|
||||
*data = 0;
|
||||
|
||||
if (button_hold()) return BUTTON_NONE;
|
||||
|
||||
if (GPIOB & 0x4)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue