summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorNick Choi <iinikchi@gmail.com>2017-05-30 03:25:50 +0200
committerNick Choi <iinikchi@gmail.com>2017-05-30 03:25:50 +0200
commit5393bc6f4eee3d3cb83997e5b03d8e5a5cea85d8 (patch)
tree69a5998ea026f250d394e8c2e90eb856b9600f69 /quantum/process_keycode
parent66e9cf9718770206f68e33a7f88b46ed372ff2a4 (diff)
downloadqmk_firmware-5393bc6f4eee3d3cb83997e5b03d8e5a5cea85d8.tar.gz
qmk_firmware-5393bc6f4eee3d3cb83997e5b03d8e5a5cea85d8.tar.xz
switched to uint8 and 16
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_tap_dance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c
index 2c7f6e937..4fd45810b 100644
--- a/quantum/process_keycode/process_tap_dance.c
+++ b/quantum/process_keycode/process_tap_dance.c
@@ -132,9 +132,9 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
void matrix_scan_tap_dance () {
if (highest_td == -1)
return;
- int tap_user_defined;
+ uint16_t tap_user_defined;
-for (int i = 0; i <= highest_td; i++) {
+for (uint8_t i = 0; i <= highest_td; i++) {
qk_tap_dance_action_t *action = &tap_dance_actions[i];
if(action->custom_tapping_term > 0 ) {
tap_user_defined = action->custom_tapping_term;