Mask off TD() parameter properly (#6143)

* Mask off TD() parameter properly

* More parentheses
master
fauxpark 2019-08-09 07:15:34 +10:00 committed by Drashna Jaelre
parent 405dea01be
commit 406f03bb0c
1 changed files with 1 additions and 1 deletions

View File

@ -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);