summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_tap_dance.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_tap_dance.c')
-rw-r--r--quantum/process_keycode/process_tap_dance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c
index 36a94d8d28..399f71a827 100644
--- a/quantum/process_keycode/process_tap_dance.c
+++ b/quantum/process_keycode/process_tap_dance.c
@@ -168,7 +168,7 @@ static inline void process_tap_dance_action_on_dance_finished(tap_dance_action_t
168 168
169bool preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) { 169bool preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) {
170 tap_dance_action_t *action; 170 tap_dance_action_t *action;
171 tap_dance_state_t * state; 171 tap_dance_state_t *state;
172 172
173 if (!record->event.pressed) return false; 173 if (!record->event.pressed) return false;
174 174
@@ -197,7 +197,7 @@ bool preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) {
197bool process_tap_dance(uint16_t keycode, keyrecord_t *record) { 197bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
198 uint8_t td_index; 198 uint8_t td_index;
199 tap_dance_action_t *action; 199 tap_dance_action_t *action;
200 tap_dance_state_t * state; 200 tap_dance_state_t *state;
201 201
202 switch (keycode) { 202 switch (keycode) {
203 case QK_TAP_DANCE ... QK_TAP_DANCE_MAX: 203 case QK_TAP_DANCE ... QK_TAP_DANCE_MAX:
@@ -233,7 +233,7 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
233 233
234void tap_dance_task(void) { 234void tap_dance_task(void) {
235 tap_dance_action_t *action; 235 tap_dance_action_t *action;
236 tap_dance_state_t * state; 236 tap_dance_state_t *state;
237 237
238 if (!active_td || timer_elapsed(last_tap_time) <= GET_TAPPING_TERM(active_td, &(keyrecord_t){})) return; 238 if (!active_td || timer_elapsed(last_tap_time) <= GET_TAPPING_TERM(active_td, &(keyrecord_t){})) return;
239 239