From 6c56960888c1ab144f0229ca3d0c323027302a3f Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 8 Sep 2024 13:58:41 +0200 Subject: [PATCH] Lower debounce time (#714) 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 47d128d..44dcca0 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)