summaryrefslogtreecommitdiff
path: root/firmware
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 /firmware
parenta04b1d418d18fe9a889eb149d65c3854833b1255 (diff)
downloadrockbox-33289d090ff46627032291e89672f1846a6d4eb9.tar.gz
rockbox-33289d090ff46627032291e89672f1846a6d4eb9.zip
fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8058 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 */
58#define POWEROFF_COUNT 10 58#define POWEROFF_COUNT 10
59 59
60static int button_read(void); 60static int button_read(void);
61
62#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
61static bool remote_button_hold_only(void); 63static bool remote_button_hold_only(void);
64#endif
62 65
63static void button_tick(void) 66static void button_tick(void)
64{ 67{