summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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