]> 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)
committerDon Armstrong <don@donarmstrong.com>
Thu, 9 Nov 2017 22:57:42 +0000 (14:57 -0800)
commit38ac26b474decfee256f755bed0c8b2682a6009b
treeb58bd24b876c1ff1fc3b31f56719fb1526bedae3
parent4a37bcef114761738d2c628b0a70fca50d79a0c8
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