~ruther/qmk_firmware

c92277a8ae77b0ab9f70ec59ed92b4e64d16d842 — DavidSannier 1 year, 4 months ago 8449ad0
Remove unuseful layer_on() call (#23055)

1 files changed, 0 insertions(+), 2 deletions(-)

M quantum/action.c
M quantum/action.c => quantum/action.c +0 -2
@@ 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);