diff options
author | Drashna Jaelre <[email protected]> | 2023-02-18 17:08:03 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-19 12:08:03 +1100 |
commit | 48a79b08ccbcd0af5269e2e9334042c8347d18f8 (patch) | |
tree | 8f1f3c05d20ac48d57f7acce2c69864239faa47b /quantum/action_tapping.h | |
parent | 8f036574910177177cdd4e3cf5b48319b094c915 (diff) | |
download | qmk_firmware-48a79b08ccbcd0af5269e2e9334042c8347d18f8.tar.gz qmk_firmware-48a79b08ccbcd0af5269e2e9334042c8347d18f8.zip |
Fix functions when `NO_ACTION_TAPPING` is defined (#11528)
Diffstat (limited to 'quantum/action_tapping.h')
-rw-r--r-- | quantum/action_tapping.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/action_tapping.h b/quantum/action_tapping.h index c078488c04..6099d80d6d 100644 --- a/quantum/action_tapping.h +++ b/quantum/action_tapping.h @@ -51,9 +51,9 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record); extern uint16_t g_tapping_term; #endif -#ifdef TAPPING_TERM_PER_KEY +#if defined(TAPPING_TERM_PER_KEY) && !defined(NO_ACTION_TAPPING) # define GET_TAPPING_TERM(keycode, record) get_tapping_term(keycode, record) -#elif defined(DYNAMIC_TAPPING_TERM_ENABLE) +#elif defined(DYNAMIC_TAPPING_TERM_ENABLE) && !defined(NO_ACTION_TAPPING) # define GET_TAPPING_TERM(keycode, record) g_tapping_term #else # define GET_TAPPING_TERM(keycode, record) (TAPPING_TERM) |