summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorZach Burchill <burchill@users.noreply.github.com>2017-10-26 02:04:36 +0200
committerJack Humbert <jack.humb@gmail.com>2017-10-31 05:40:27 +0100
commit4c1164c469a103981478222b21ef5ffaa364448d (patch)
tree708566fb3c66c5d92932570c89a68d1f1f09e728 /tmk_core
parente555e42aae6dbed7ba0da78a3e05d25fc5da5214 (diff)
downloadqmk_firmware-4c1164c469a103981478222b21ef5ffaa364448d.tar.gz
qmk_firmware-4c1164c469a103981478222b21ef5ffaa364448d.tar.xz
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')
0 files changed, 0 insertions, 0 deletions