]> git.donarmstrong.com Git - qmk_firmware.git/commit
fixed two typos
authorZach Burchill <burchill@users.noreply.github.com>
Thu, 26 Oct 2017 00:04:36 +0000 (20:04 -0400)
committerJack Humbert <jack.humb@gmail.com>
Tue, 31 Oct 2017 04:40:27 +0000 (00:40 -0400)
commit4c1164c469a103981478222b21ef5ffaa364448d
tree708566fb3c66c5d92932570c89a68d1f1f09e728
parente555e42aae6dbed7ba0da78a3e05d25fc5da5214
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.
docs/feature_tap_dance.md