aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-02-13 02:38:32 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-02-13 05:53:46 +0100
commiteca2223dcd7fbd9e5d47365433849c67f19ecb79 (patch)
tree056f73a5e55315f67f9783fd0ba54b6960dd6e4f
parentf16db7841a57ef04adf8d2f15f5a7bbbf3c89559 (diff)
downloadtmk7637-eca2223dcd7fbd9e5d47365433849c67f19ecb79.tar.gz
set DEBOUNCE to 5ms: this seems to help, at least when running from a 500mA USB port
The original documentation states that they simply read the matrix twice in order to debounce. They did not mention any delays.
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 9821031..540b13a 100644
--- a/config.h
+++ b/config.h
@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MATRIX_HAS_GHOST
/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 2
+#define DEBOUNCE 5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE