forked from len0rd/rockbox
the h300 models have hold too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9a46adcc85
commit
50264b243e
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ static int button_read(void)
|
|||
return retval;
|
||||
}
|
||||
|
||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
|
||||
bool button_hold(void)
|
||||
{
|
||||
return (GPIO1_READ & 0x00000002)?true:false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue