~ruther/qmk_firmware

ref: 2e0498080f79c0d79bfa4ae91405d6cf0c3d959b qmk_firmware/keyboards/viktus/sp111_v2/sp111_v2.c -rw-r--r-- 335 bytes
2e049808 — James Young Migrate `LOCKING_*_ENABLE` to Data-Driven: K, Part 2 (#23769) 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2023 BlindAssassin111 (@blindassassin111)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "quantum.h"

void keyboard_pre_init_kb(void) {
    // enable built in pullups to avoid timeouts when right hand not connected
    gpio_set_pin_input_high(D0);
    gpio_set_pin_input_high(D1);

    keyboard_pre_init_user();
}
Do not follow this link