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