summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-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 1cc95428ab..718fb6a6da 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -87,13 +87,13 @@ static bool phones_present = false;
87 87
88#ifdef HAVE_BUTTON_DATA 88#ifdef HAVE_BUTTON_DATA
89static int button_read(int *data); 89static int button_read(int *data);
90static int lastdata = 0;
90#else 91#else
91static int button_read(void); 92static int button_read(void);
92#endif 93#endif
93 94
94#ifdef HAVE_TOUCHSCREEN 95#ifdef HAVE_TOUCHSCREEN
95static int last_touchscreen_touch; 96static int last_touchscreen_touch;
96static int lastdata = 0;
97#endif 97#endif
98#if defined(HAVE_HEADPHONE_DETECTION) 98#if defined(HAVE_HEADPHONE_DETECTION)
99static struct timeout hp_detect_timeout; /* Debouncer for headphone plug/unplug */ 99static struct timeout hp_detect_timeout; /* Debouncer for headphone plug/unplug */