1
0
Fork 0

format code according to conventions [skip ci]

This commit is contained in:
QMK Bot 2020-02-25 18:57:18 +00:00
parent b949343b78
commit 61b71320f7

View file

@ -122,13 +122,12 @@ bool process_tapping(keyrecord_t *keyp) {
# if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY) # if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY)
else if ( else if (
# ifdef TAPPING_TERM_PER_KEY # ifdef TAPPING_TERM_PER_KEY
(get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && (get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) &&
# endif # endif
# ifdef PERMISSIVE_HOLD_PER_KEY # ifdef PERMISSIVE_HOLD_PER_KEY
!get_permissive_hold(get_event_keycode(tapping_key.event), keyp) && !get_permissive_hold(get_event_keycode(tapping_key.event), keyp) &&
# endif # endif
IS_RELEASED(event) && waiting_buffer_typed(event)) IS_RELEASED(event) && waiting_buffer_typed(event)) {
{
debug("Tapping: End. No tap. Interfered by typing key\n"); debug("Tapping: End. No tap. Interfered by typing key\n");
process_record(&tapping_key); process_record(&tapping_key);
tapping_key = (keyrecord_t){}; tapping_key = (keyrecord_t){};