in case its NULL
This commit is contained in:
parent
9ecf9073b9
commit
1a7e954f9f
@ -22,7 +22,9 @@ static void _process_tap_dance_action_pair (qk_tap_dance_state_t *state,
|
||||
static void _process_tap_dance_action_fn (qk_tap_dance_state_t *state,
|
||||
qk_tap_dance_user_fn_t fn)
|
||||
{
|
||||
fn(state);
|
||||
if (fn) {
|
||||
fn(state);
|
||||
}
|
||||
}
|
||||
|
||||
void process_tap_dance_action (uint16_t keycode)
|
||||
|
Loading…
Reference in New Issue
Block a user