summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-11-25 18:40:28 +0000
committerJens Arnold <amiconn@rockbox.org>2004-11-25 18:40:28 +0000
commitc30dcb8ad189a11286411e41c2feb44b28099ad0 (patch)
tree9a81c01492722057b03e210be38bd980b8462ff7 /firmware/drivers/button.c
parent56a6fdda4db7b6ede0e29f5e173b170e605c4f8c (diff)
downloadrockbox-c30dcb8ad189a11286411e41c2feb44b28099ad0.tar.gz
rockbox-c30dcb8ad189a11286411e41c2feb44b28099ad0.tar.bz2
rockbox-c30dcb8ad189a11286411e41c2feb44b28099ad0.zip
Remote control working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5467 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 86d0b5d4e6..23479f12fa 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -68,7 +68,7 @@ static void button_tick(void)
int diff;
int btn;
-#if !defined(HAVE_MMC) && !defined(IRIVER_H100_PAD)
+#if !defined(HAVE_MMC) && (CONFIG_KEYPAD != IRIVER_H100_PAD)
/* Post events for the remote control */
btn = remote_control_rx();
if(btn)