From 4bf6e56f9012e45e8b836423aed44623b75eb054 Mon Sep 17 00:00:00 2001 From: jding Date: Sun, 31 Oct 2021 15:54:27 +0000 Subject: [PATCH] bugfix break switch --- app/src/behaviors/behavior_hold_tap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c index 55b94206..fe8b8f75 100644 --- a/app/src/behaviors/behavior_hold_tap.c +++ b/app/src/behaviors/behavior_hold_tap.c @@ -1,5 +1,4 @@ /* - * Copyright (c) 2020 The ZMK Contributors * * SPDX-License-Identifier: MIT @@ -397,12 +396,16 @@ 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; case FLAVOR_TAP_UNLESS_INTERRUPTED: decide_tap_unless_interrupted(hold_tap, decision_moment); + break; } if (hold_tap->status == STATUS_UNDECIDED) {