Browse Source

Remove unuseful layer_on() call (#23055)

pull/23247/head
DavidSannier 1 month ago
committed by GitHub
parent
commit
c92277a8ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      quantum/action.c

+ 0
- 2
quantum/action.c View File

@ -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);


Loading…
Cancel
Save