summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/button.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index d77c3e9b9d..b9e5043783 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -58,7 +58,10 @@ static bool flipped; /* buttons can be flipped to match the LCD flip */
#define POWEROFF_COUNT 10
static int button_read(void);
+
+#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
static bool remote_button_hold_only(void);
+#endif
static void button_tick(void)
{