blob: 11c528eea8306233315e5528d59ade27f15b7045 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2024 Dasky (@daskygit)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
void board_init(void) {
gpio_set_pin_output(A15);
gpio_write_pin_high(A15); // Activate D+ pullup
gpio_set_pin_output(OPTICAL_SW_PWR);
gpio_write_pin_low(OPTICAL_SW_PWR); // Enable power for optical switches
}
|