From 51f0e4bcd6ab0f06781b2c7a8ca53768320aab40 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 18 Mar 2017 00:03:47 +0100 Subject: [PATCH] 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 --- src/Kaleidoscope/TapDance.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Kaleidoscope/TapDance.cpp b/src/Kaleidoscope/TapDance.cpp index 0a037e30..b9793bb3 100644 --- a/src/Kaleidoscope/TapDance.cpp +++ b/src/Kaleidoscope/TapDance.cpp @@ -59,8 +59,6 @@ namespace KaleidoscopePlugins { TapDance::timeout (void) { uint8_t idx = lastTapDanceKey.raw - TD_FIRST; - endTime = 0; - tapDanceAction (idx, lastTapDanceRow, lastTapDanceCol, tapCount[idx], Timeout); bitWrite (triggeredState, idx, 1);