Skip to content

Commit

Permalink
Cleanup check for PERMISSIVE_HOLD (qmk#7861)
Browse files Browse the repository at this point in the history
* Fix bug in PERMISSIVE_HOLD check

caused by qmk#5009 (aka, me)

* Remove check for per key
  • Loading branch information
drashna authored and fdidron committed Feb 14, 2020
1 parent 040c7ec commit 1245492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/common/action_tapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ bool process_tapping(keyrecord_t *keyp) {
* This can register the key before settlement of tapping,
* useful for long TAPPING_TERM but may prevent fast typing.
*/
# if defined(TAPPING_TERM_PER_KEY) || (!defined(PER_KEY_TAPPING_TERM) && TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD)
# if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD)
# ifdef TAPPING_TERM_PER_KEY
else if ((get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && IS_RELEASED(event) && waiting_buffer_typed(event))
# else
Expand Down

0 comments on commit 1245492

Please sign in to comment.