summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-10-01 17:09:05 +0200
committerJack Humbert <jack.humb@gmail.com>2018-10-01 17:09:05 +0200
commit9d949389f92b6b397ed62246b60ead86d80a57a1 (patch)
treefcf590a8b5309442023caf32dfeb162839c6864a /quantum/quantum.h
parenta398d2cece1ee69006cf26e9a86fbf38e1acb0d1 (diff)
downloadqmk_firmware-9d949389f92b6b397ed62246b60ead86d80a57a1.tar.gz
qmk_firmware-9d949389f92b6b397ed62246b60ead86d80a57a1.tar.xz
Adds default value for TAPPING_TERM if Tap Dance is enabled (#2785)
* Force require TAPPING_TERM if Tap Dance is enabled * Handle lack of TAPPING_TERM more gracefully
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r--quantum/quantum.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 683333211..87a61356c 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -31,7 +31,7 @@
#include "backlight.h"
#endif
#if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE)
- #include "rgb.h"
+ #include "rgb.h"
#endif
#ifdef RGBLIGHT_ENABLE
#include "rgblight.h"
@@ -108,7 +108,9 @@ extern uint32_t default_layer_state;
#include "process_unicodemap.h"
#endif
-#include "process_tap_dance.h"
+#ifdef TAP_DANCE_ENABLE
+ #include "process_tap_dance.h"
+#endif
#ifdef PRINTING_ENABLE
#include "process_printer.h"