forked from len0rd/rockbox
Added ON button support for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5738 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d2998ff201
commit
5dc8ff6b8c
1 changed files with 4 additions and 1 deletions
|
@ -480,7 +480,10 @@ static int button_read(void)
|
|||
else if (adc_read(6) < 0x300)
|
||||
btn |= BUTTON_MENU;
|
||||
|
||||
|
||||
data = P7;
|
||||
if (data & 0x01)
|
||||
btn |= BUTTON_ON;
|
||||
|
||||
#endif /* CONFIG_KEYPAD */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue