mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-22 16:34:38 +00:00
Mask off TD() parameter properly (#6143)
* Mask off TD() parameter properly * More parentheses
This commit is contained in:
parent
405dea01be
commit
406f03bb0c
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ typedef struct
|
|||
bool finished;
|
||||
} qk_tap_dance_state_t;
|
||||
|
||||
#define TD(n) (QK_TAP_DANCE + n)
|
||||
#define TD(n) (QK_TAP_DANCE | ((n) & 0xFF))
|
||||
|
||||
typedef void (*qk_tap_dance_user_fn_t) (qk_tap_dance_state_t *state, void *user_data);
|
||||
|
||||
|
|
Loading…
Reference in a new issue