aboutsummaryrefslogtreecommitdiff
path: root/quantum/action.c
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2024-05-28 14:39:23 +1000
committerNick Brassel <nick@tzarc.org>2024-05-28 14:39:23 +1000
commitf76cc320fd9f3365a80cc0d8af2990bc28d76bde (patch)
tree3c5330bbc9ab254424ac57335510de341b4ada11 /quantum/action.c
parent7620c64b99dc5bec480bfaa2708cb3fae709e2b3 (diff)
parent465ab5a20643722c9b712c6b6924472b7345dd64 (diff)
Merge branch 'develop'
Diffstat (limited to 'quantum/action.c')
-rw-r--r--quantum/action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/quantum/action.c b/quantum/action.c
index 8dae32b2cb..74ef55e5eb 100644
--- a/quantum/action.c
+++ b/quantum/action.c
@@ -658,7 +658,6 @@ void process_action(keyrecord_t *record, action_t action) {
layer_off(action.layer_tap.val);
break;
} else if (tap_count < ONESHOT_TAP_TOGGLE) {
- layer_on(action.layer_tap.val);
set_oneshot_layer(action.layer_tap.val, ONESHOT_START);
}
} else {
@@ -671,7 +670,6 @@ void process_action(keyrecord_t *record, action_t action) {
}
# else
if (event.pressed) {
- layer_on(action.layer_tap.val);
set_oneshot_layer(action.layer_tap.val, ONESHOT_START);
} else {
clear_oneshot_layer_state(ONESHOT_PRESSED);