diff options
author | QMK Bot <hello@qmk.fm> | 2020-02-25 18:57:18 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-02-25 18:57:18 +0000 |
commit | 61b71320f79a663880bd70402d306722c1bbfe3e (patch) | |
tree | ed9acc187666337ef75663d5e47d7b2dc75fe7df | |
parent | b949343b783da729b1dfebd38507cc56a8cd12e3 (diff) | |
download | qmk_firmware-61b71320f79a663880bd70402d306722c1bbfe3e.tar.gz qmk_firmware-61b71320f79a663880bd70402d306722c1bbfe3e.zip |
format code according to conventions [skip ci]
-rw-r--r-- | tmk_core/common/action_tapping.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c index 65ef0a185..acce3ee51 100644 --- a/tmk_core/common/action_tapping.c +++ b/tmk_core/common/action_tapping.c | |||
@@ -122,13 +122,12 @@ bool process_tapping(keyrecord_t *keyp) { | |||
122 | # if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY) | 122 | # if defined(TAPPING_TERM_PER_KEY) || (TAPPING_TERM >= 500) || defined(PERMISSIVE_HOLD) || defined(PERMISSIVE_HOLD_PER_KEY) |
123 | else if ( | 123 | else if ( |
124 | # ifdef TAPPING_TERM_PER_KEY | 124 | # ifdef TAPPING_TERM_PER_KEY |
125 | (get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && | 125 | (get_tapping_term(get_event_keycode(tapping_key.event)) >= 500) && |
126 | # endif | 126 | # endif |
127 | # ifdef PERMISSIVE_HOLD_PER_KEY | 127 | # ifdef PERMISSIVE_HOLD_PER_KEY |
128 | !get_permissive_hold(get_event_keycode(tapping_key.event), keyp) && | 128 | !get_permissive_hold(get_event_keycode(tapping_key.event), keyp) && |
129 | # endif | 129 | # endif |
130 | IS_RELEASED(event) && waiting_buffer_typed(event)) | 130 | IS_RELEASED(event) && waiting_buffer_typed(event)) { |
131 | { | ||
132 | debug("Tapping: End. No tap. Interfered by typing key\n"); | 131 | debug("Tapping: End. No tap. Interfered by typing key\n"); |
133 | process_record(&tapping_key); | 132 | process_record(&tapping_key); |
134 | tapping_key = (keyrecord_t){}; | 133 | tapping_key = (keyrecord_t){}; |