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:
Jens Arnold 2006-04-02 00:20:11 +00:00
parent a698c3e43e
commit 7f88088739

View file

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