logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

sp111_v2.c (335B)


  1. // Copyright 2023 BlindAssassin111 (@blindassassin111)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "quantum.h"
  4. void keyboard_pre_init_kb(void) {
  5. // enable built in pullups to avoid timeouts when right hand not connected
  6. gpio_set_pin_input_high(D0);
  7. gpio_set_pin_input_high(D1);
  8. keyboard_pre_init_user();
  9. }