From 73fd4b9230bec4333fc3ecc74e455af78016f0e2 Mon Sep 17 00:00:00 2001 From: jmding8 <44815547+jmding8@users.noreply.github.com> Date: Mon, 1 Nov 2021 10:51:12 -0700 Subject: [PATCH] fix(behavior): Properly break in decision switch statement. Co-authored-by: jding --- app/src/behaviors/behavior_hold_tap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c index a5c4e90d..1871df70 100644 --- a/app/src/behaviors/behavior_hold_tap.c +++ b/app/src/behaviors/behavior_hold_tap.c @@ -413,10 +413,13 @@ static void decide_hold_tap(struct active_hold_tap *hold_tap, switch (hold_tap->config->flavor) { case FLAVOR_HOLD_PREFERRED: decide_hold_preferred(hold_tap, decision_moment); + break; case FLAVOR_BALANCED: decide_balanced(hold_tap, decision_moment); + break; case FLAVOR_TAP_PREFERRED: decide_tap_preferred(hold_tap, decision_moment); + break; } if (hold_tap->status == STATUS_UNDECIDED) {