diff options
| author | QMK Bot <hello@qmk.fm> | 2025-12-01 07:46:22 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 20:46:22 +0000 |
| commit | 43bbb5e99a2c552c127d30dfdf317fb70b143b40 (patch) | |
| tree | 4269efb53cae22f89e1653c2253255333d5b5813 /quantum/process_keycode/process_tap_dance.c | |
| parent | ee60542bd6aa8d96714516f7f42b02fbd8105fcb (diff) | |
[CI] Format code according to conventions (#25828)
Format code according to conventions
Diffstat (limited to 'quantum/process_keycode/process_tap_dance.c')
| -rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 6 |
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 | ||
| 169 | bool preprocess_tap_dance(uint16_t keycode, keyrecord_t *record) { | 169 | bool 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) { | |||
| 197 | bool process_tap_dance(uint16_t keycode, keyrecord_t *record) { | 197 | bool 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 | ||
| 234 | void tap_dance_task(void) { | 234 | void 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 | ||
