diff options
Diffstat (limited to 'buttons.hpp')
-rw-r--r-- | buttons.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buttons.hpp b/buttons.hpp index 43d2d25..3136a26 100644 --- a/buttons.hpp +++ b/buttons.hpp @@ -11,6 +11,10 @@ #define BUTTON_DOWN 20 #define BUTTON_UP 21 +// time is currently shared between all buttons. +extern unsigned long button_last_pressed_time; +extern const int button_delay_time; + void init_buttons(); void gpio_interrupt_cb(uint gpio, uint32_t events); |