From ea17b3727ff7f094d1540137643aec0e6fd242a2 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 1 Sep 2024 20:20:58 +0200 Subject: [PATCH] Lower debounce time https://github.com/probonopd/MiniDexed/issues/713 --- src/uibuttons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uibuttons.h b/src/uibuttons.h index 47d128df..44dcca00 100644 --- a/src/uibuttons.h +++ b/src/uibuttons.h @@ -26,7 +26,7 @@ #include "config.h" #define BUTTONS_UPDATE_NUM_TICKS 100 -#define DEBOUNCE_TIME 100 +#define DEBOUNCE_TIME 20 #define MAX_GPIO_BUTTONS 9 // 5 UI buttons, 4 Program/TG Select buttons #define MAX_MIDI_BUTTONS 9 #define MAX_BUTTONS (MAX_GPIO_BUTTONS+MAX_MIDI_BUTTONS)