add breaks to switch

This commit is contained in:
jding 2021-10-31 15:55:20 +00:00
parent f946dc6893
commit db322d0774

View file

@ -373,10 +373,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) {