summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-04-02 00:20:11 +0000
committerJens Arnold <amiconn@rockbox.org>2006-04-02 00:20:11 +0000
commit7f88088739109de9efffe696b1c0abe20feb47c9 (patch)
tree1191facdd7160d939c78e79fce7419346e81537e /bootloader
parenta698c3e43e84253e6df132ce506b0a2894ea5599 (diff)
downloadrockbox-7f88088739109de9efffe696b1c0abe20feb47c9.tar.gz
rockbox-7f88088739109de9efffe696b1c0abe20feb47c9.tar.bz2
rockbox-7f88088739109de9efffe696b1c0abe20feb47c9.zip
iPod mini 2G: Working button check in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9416 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/ipod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 793253a0ca..c74e162536 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -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();