1
0
Fork 0
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:
Daniel Stenberg 2005-07-01 09:46:48 +00:00
parent 9a46adcc85
commit 50264b243e

View file

@ -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;