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:
Rob Purchase 2008-06-23 21:38:11 +00:00
parent 7a36b22f17
commit 3ca42e4aac

View file

@ -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)
{