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
|
||||
*
|
||||
* 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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue