summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/chibios
diff options
context:
space:
mode:
authorZach Burchill <burchill@users.noreply.github.com>2017-10-25 20:04:36 -0400
committerJack Humbert <jack.humb@gmail.com>2017-10-31 00:40:27 -0400
commit4c1164c469a103981478222b21ef5ffaa364448d (patch)
tree708566fb3c66c5d92932570c89a68d1f1f09e728 /tmk_core/protocol/chibios
parente555e42aae6dbed7ba0da78a3e05d25fc5da5214 (diff)
fixed two typos
I'm almost 100% sure "else if (state->count = 2) {" was a typo (it should have two ='s for a logical operator), and I'm *pretty* sure "if (state->interrupted || state->!pressed) return SINGLE_TAP;" has a typo. At least, it returns an error on my machine saying something about an unexpected '!'. I changed it to a slightly longer form (i.e., "state->pressed==0"), and that worked fine.
Diffstat (limited to 'tmk_core/protocol/chibios')
0 files changed, 0 insertions, 0 deletions