summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-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)