Skip to content

Commit

Permalink
[Bug] Fix build error when enabling NO_HAPTIC_MOD (qmk#14178)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
purdeaandrei authored Aug 30, 2021
1 parent e9ec15d commit 4941bff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quantum/process_keycode/process_haptic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4941bff

Please sign in to comment.