浏览代码

Fix build when using IGNORE_MOD_TAP_INTERRUPT_PER_KEY. (#9258)

Nick Brassel 5 年之前
父节点
当前提交
8d3fca57a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tmk_core/common/action.c

+ 1 - 1
tmk_core/common/action.c

@@ -335,7 +335,7 @@ void process_action(keyrecord_t *record, action_t action) {
 #    if !defined(IGNORE_MOD_TAP_INTERRUPT) || defined(IGNORE_MOD_TAP_INTERRUPT_PER_KEY)
                             if (
 #        ifdef IGNORE_MOD_TAP_INTERRUPT_PER_KEY
-                                !get_ignore_mod_tap_interrupt(get_event_keycode(record->event, false), &record) &&
+                                !get_ignore_mod_tap_interrupt(get_event_keycode(record->event, false), record) &&
 #        endif
                                 record->tap.interrupted) {
                                 dprint("mods_tap: tap: cancel: add_mods\n");