summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/button.c')
-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 715d4d3025..7b5fd26f3b 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -37,6 +37,7 @@
37#include "lcd-remote.h" 37#include "lcd-remote.h"
38#endif 38#endif
39 39
40#ifndef SIMULATOR
40#if 0 41#if 0
41/* Older than MAX_EVENT_AGE button events are going to be ignored. 42/* Older than MAX_EVENT_AGE button events are going to be ignored.
42 * Used to prevent for example volume going up uncontrollable when events 43 * Used to prevent for example volume going up uncontrollable when events
@@ -482,6 +483,8 @@ void button_clear_queue(void)
482 queue_clear(&button_queue); 483 queue_clear(&button_queue);
483} 484}
484 485
486#endif /* SIMULATOR */
487
485#ifdef HAVE_SCROLLWHEEL 488#ifdef HAVE_SCROLLWHEEL
486/** 489/**
487 * data: 490 * data: