diff options
author | jmding8 <[email protected]> | 2021-11-01 10:51:12 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-01 13:51:12 -0400 |
commit | 73fd4b9230bec4333fc3ecc74e455af78016f0e2 (patch) | |
tree | aa98673b0ab969723f002788ce97985f82ab9009 | |
parent | 19ee7849f80e18d8f29ac47ffeee3bb223c35a80 (diff) | |
download | zmk-73fd4b9230bec4333fc3ecc74e455af78016f0e2.tar.gz zmk-73fd4b9230bec4333fc3ecc74e455af78016f0e2.zip |
fix(behavior): Properly break in decision switch statement.
Co-authored-by: jding <[email protected]>
-rw-r--r-- | app/src/behaviors/behavior_hold_tap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c index a5c4e90d74..1871df704e 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) { |