Skip to content

Commit

Permalink
Fix build error when enabling NO_HAPTIC_MOD
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 committed Aug 29, 2021
1 parent f87cd8e commit e3a1176
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 e3a1176

Please sign in to comment.