summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/ipod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index f62fa265a5..793253a0ca 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -193,7 +193,11 @@ static int key_pressed(void)
193 unsigned char state; 193 unsigned char state;
194 194
195#if CONFIG_KEYPAD == IPOD_4G_PAD 195#if CONFIG_KEYPAD == IPOD_4G_PAD
196#if defined(APPLE_IPODMINI)
197 state = GPIOA_INPUT_VAL & 0x3f;
198#else
196 state = opto_keypad_read(); 199 state = opto_keypad_read();
200#endif
197 if ((state & 0x4) == 0) return BUTTON_LEFT; 201 if ((state & 0x4) == 0) return BUTTON_LEFT;
198 if ((state & 0x10) == 0) return BUTTON_MENU; 202 if ((state & 0x10) == 0) return BUTTON_MENU;
199 if ((state & 0x8) == 0) return BUTTON_PLAY; 203 if ((state & 0x8) == 0) return BUTTON_PLAY;