浏览代码

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>
Gergely Nagy 8 年之前
父节点
当前提交
74a1f00713
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      quantum/quantum.c

+ 4 - 0
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: