diff options
author | DavidSannier <[email protected]> | 2024-03-13 08:19:23 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-13 00:19:23 -0700 |
commit | c92277a8ae77b0ab9f70ec59ed92b4e64d16d842 (patch) | |
tree | ab43043e62c63108690843e6c5a1bb0e054bca95 /quantum/action.c | |
parent | 8449ad0fc34349ce998eac688bad8b4dc3a519f1 (diff) | |
download | qmk_firmware-c92277a8ae77b0ab9f70ec59ed92b4e64d16d842.tar.gz qmk_firmware-c92277a8ae77b0ab9f70ec59ed92b4e64d16d842.zip |
Remove unuseful layer_on() call (#23055)
Diffstat (limited to 'quantum/action.c')
-rw-r--r-- | quantum/action.c | 2 |
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); |