summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-11-19 18:19:18 +0100
committerGergely Nagy <algernon@madhouse-project.org>2016-11-19 18:19:18 +0100
commit74a1f00713d1407fb1d2e20d58da93919ab0c221 (patch)
treed60ae54d8e6df6249fa6400d6eea2948833a86af /quantum
parentffa5b1e7ea6697acf9ebfcade1149031642f7870 (diff)
downloadqmk_firmware-74a1f00713d1407fb1d2e20d58da93919ab0c221.tar.gz
qmk_firmware-74a1f00713d1407fb1d2e20d58da93919ab0c221.zip
Fix the Space Cadet timeout code
Define a default TAPPING_TERM in quantum.c, for keyboards that do not have it set. Fixes the CI failure. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 2addcb670c..b5e2d60b9d 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -1,5 +1,9 @@
#include "quantum.h"
+#ifndef TAPPING_TERM
+#define TAPPING_TERM 200
+#endif
+
static void do_code16 (uint16_t code, void (*f) (uint8_t)) {
switch (code) {
case QK_MODS ... QK_MODS_MAX: