iPod mini 2G: Working button check in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9416 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a698c3e43e
commit
7f88088739
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ static int key_pressed(void)
|
|||
unsigned char state;
|
||||
|
||||
#if CONFIG_KEYPAD == IPOD_4G_PAD
|
||||
#if defined(APPLE_IPODMINI)
|
||||
#ifdef IPOD_MINI /* mini 1G only */
|
||||
state = GPIOA_INPUT_VAL & 0x3f;
|
||||
#else
|
||||
state = opto_keypad_read();
|
||||
|
|
Loading…
Reference in a new issue