This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
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
405dea01be
commit
406f03bb0c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
Write
Preview
Loading…
Cancel
Save