Browse Source

Mask off TD() parameter properly (#6143)

* Mask off TD() parameter properly

* More parentheses
pull/6515/head
fauxpark 4 years ago
committed by Drashna Jaelre
parent
commit
406f03bb0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/process_keycode/process_tap_dance.h

+ 1
- 1
quantum/process_keycode/process_tap_dance.h 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);


Loading…
Cancel
Save