summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2005-11-23 22:34:11 +0000
committerMagnus Holmgren <magnushol@gmail.com>2005-11-23 22:34:11 +0000
commit33289d090ff46627032291e89672f1846a6d4eb9 (patch)
tree05552a924f1094a443101854632114acf22445e3
parenta04b1d418d18fe9a889eb149d65c3854833b1255 (diff)
fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8058 a1c6a512-1295-4272-9138-f99709370657
-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)
{