summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurdea Andrei <andrei@purdea.ro>2021-08-30 21:22:53 +0300
committerGitHub <noreply@github.com>2021-08-30 11:22:53 -0700
commit9583f9f589ec4ecaafd3c8f9c709ce981dc684af (patch)
tree505ce76da8e5e01f4719b4e99a17f18e9fef32b3
parent949cfd4632066eb6f5574bc360b35a73afbc616f (diff)
[Bug] Fix build error when enabling NO_HAPTIC_MOD (#14178)
Without this build would fail, if a keyboard had haptic feedback enabled, TAPPING_TOGGLE was not overridden in a config.h, and if NO_HAPTIC_MOD was defined in config.h.
-rw-r--r--quantum/process_keycode/process_haptic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_haptic.c b/quantum/process_keycode/process_haptic.c
index 29a4ffd10a..64d455d009 100644
--- a/quantum/process_keycode/process_haptic.c
+++ b/quantum/process_keycode/process_haptic.c
@@ -16,6 +16,7 @@
#include "haptic.h"
#include "process_haptic.h"
#include "quantum_keycodes.h"
+#include "action_tapping.h"
__attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {