bugfix break switch
This commit is contained in:
parent
404f2a8921
commit
4bf6e56f90
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
* Copyright (c) 2020 The ZMK Contributors
|
* Copyright (c) 2020 The ZMK Contributors
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
|
@ -397,12 +396,16 @@ static void decide_hold_tap(struct active_hold_tap *hold_tap,
|
||||||
switch (hold_tap->config->flavor) {
|
switch (hold_tap->config->flavor) {
|
||||||
case FLAVOR_HOLD_PREFERRED:
|
case FLAVOR_HOLD_PREFERRED:
|
||||||
decide_hold_preferred(hold_tap, decision_moment);
|
decide_hold_preferred(hold_tap, decision_moment);
|
||||||
|
break;
|
||||||
case FLAVOR_BALANCED:
|
case FLAVOR_BALANCED:
|
||||||
decide_balanced(hold_tap, decision_moment);
|
decide_balanced(hold_tap, decision_moment);
|
||||||
|
break;
|
||||||
case FLAVOR_TAP_PREFERRED:
|
case FLAVOR_TAP_PREFERRED:
|
||||||
decide_tap_preferred(hold_tap, decision_moment);
|
decide_tap_preferred(hold_tap, decision_moment);
|
||||||
|
break;
|
||||||
case FLAVOR_TAP_UNLESS_INTERRUPTED:
|
case FLAVOR_TAP_UNLESS_INTERRUPTED:
|
||||||
decide_tap_unless_interrupted(hold_tap, decision_moment);
|
decide_tap_unless_interrupted(hold_tap, decision_moment);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hold_tap->status == STATUS_UNDECIDED) {
|
if (hold_tap->status == STATUS_UNDECIDED) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue