From 33289d090ff46627032291e89672f1846a6d4eb9 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Wed, 23 Nov 2005 22:34:11 +0000 Subject: fix yellow builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8058 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index d77c3e9..b9e5043 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) { -- cgit v1.1