diff options
author | Zach Burchill <burchill@users.noreply.github.com> | 2017-10-26 02:04:36 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 05:40:27 +0100 |
commit | 4c1164c469a103981478222b21ef5ffaa364448d (patch) | |
tree | 708566fb3c66c5d92932570c89a68d1f1f09e728 /docs/keycode.txt | |
parent | e555e42aae6dbed7ba0da78a3e05d25fc5da5214 (diff) | |
download | qmk_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 'docs/keycode.txt')
0 files changed, 0 insertions, 0 deletions