timeout: Do not clear the timer

When timing out, we should not clear the timer, because then we'll fail to reset
the tapCount later, too.

Fixes #8.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent bab09065ac
commit 51f0e4bcd6

@ -59,8 +59,6 @@ namespace KaleidoscopePlugins {
TapDance::timeout (void) { TapDance::timeout (void) {
uint8_t idx = lastTapDanceKey.raw - TD_FIRST; uint8_t idx = lastTapDanceKey.raw - TD_FIRST;
endTime = 0;
tapDanceAction (idx, lastTapDanceRow, lastTapDanceCol, tapCount[idx], Timeout); tapDanceAction (idx, lastTapDanceRow, lastTapDanceCol, tapCount[idx], Timeout);
bitWrite (triggeredState, idx, 1); bitWrite (triggeredState, idx, 1);

Loading…
Cancel
Save