diff options
| -rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c index 9b172e1b6..186889bc2 100644 --- a/quantum/process_keycode/process_tap_dance.c +++ b/quantum/process_keycode/process_tap_dance.c | |||
| @@ -22,7 +22,9 @@ static void _process_tap_dance_action_pair (qk_tap_dance_state_t *state, | |||
| 22 | static void _process_tap_dance_action_fn (qk_tap_dance_state_t *state, | 22 | static void _process_tap_dance_action_fn (qk_tap_dance_state_t *state, |
| 23 | qk_tap_dance_user_fn_t fn) | 23 | qk_tap_dance_user_fn_t fn) |
| 24 | { | 24 | { |
| 25 | fn(state); | 25 | if (fn) { |
| 26 | fn(state); | ||
| 27 | } | ||
| 26 | } | 28 | } |
| 27 | 29 | ||
| 28 | void process_tap_dance_action (uint16_t keycode) | 30 | void process_tap_dance_action (uint16_t keycode) |
