2024-04-05 01:38:12 +00:00
|
|
|
// Copyright 2024 zvecr <git@zvecr.com>
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
#include "quantum.h"
|
2020-06-02 23:49:52 +00:00
|
|
|
|
2024-04-05 01:38:12 +00:00
|
|
|
void keyboard_pre_init_kb(void) {
|
2020-06-02 23:49:52 +00:00
|
|
|
// Workaround for reversible pcb/mcu
|
2024-04-05 01:38:12 +00:00
|
|
|
gpio_set_pin_input_high(C13);
|
|
|
|
gpio_set_pin_input_high(C15);
|
|
|
|
gpio_set_pin_output_open_drain(B7);
|
|
|
|
gpio_set_pin_output_open_drain(A0);
|
|
|
|
gpio_set_pin_output_open_drain(A1);
|
2020-06-02 23:49:52 +00:00
|
|
|
|
|
|
|
keyboard_pre_init_user();
|
|
|
|
}
|