aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_haptic.c
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 /quantum/process_keycode/process_haptic.c
parent949cfd4632066eb6f5574bc360b35a73afbc616f (diff)
downloadqmk_firmware-9583f9f589ec4ecaafd3c8f9c709ce981dc684af.tar.gz
qmk_firmware-9583f9f589ec4ecaafd3c8f9c709ce981dc684af.zip
[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.
Diffstat (limited to 'quantum/process_keycode/process_haptic.c')
-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 29a4ffd10..64d455d00 100644
--- a/quantum/process_keycode/process_haptic.c
+++ b/quantum/process_keycode/process_haptic.c
@@ -16,6 +16,7 @@
16#include "haptic.h" 16#include "haptic.h"
17#include "process_haptic.h" 17#include "process_haptic.h"
18#include "quantum_keycodes.h" 18#include "quantum_keycodes.h"
19#include "action_tapping.h"
19 20
20__attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record) { 21__attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record) {
21 switch (keycode) { 22 switch (keycode) {