summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorHenrik Backe <henrik@backe.eu>2004-09-23 19:38:00 +0000
committerHenrik Backe <henrik@backe.eu>2004-09-23 19:38:00 +0000
commita30c1caaf5cb608ae5ee95cecb3666914fb9bbaa (patch)
treee1781f4125bcf4300abebe5336b7272bb94c0b1e /firmware/drivers/button.c
parente08c0d1fec3f881d62860221d17ad5e7416adca5 (diff)
downloadrockbox-a30c1caaf5cb608ae5ee95cecb3666914fb9bbaa.zip
rockbox-a30c1caaf5cb608ae5ee95cecb3666914fb9bbaa.tar.gz
rockbox-a30c1caaf5cb608ae5ee95cecb3666914fb9bbaa.tar.bz2
rockbox-a30c1caaf5cb608ae5ee95cecb3666914fb9bbaa.tar.xz
Fixed yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5111 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/button.c')
-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 c0f5edb..6e4106f 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -36,8 +36,8 @@
struct event_queue button_queue;
static int lastbtn; /* Last valid button status */
-static int last_read; /* Last button status, for debouncing/filtering */
#if defined(HAVE_RECORDER_KEYPAD) || defined(HAVE_ONDIO_KEYPAD)
+static int last_read; /* Last button status, for debouncing/filtering */
static bool flipped; /* bottons can be flipped to match the LCD flip */
#endif