aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/quefrency/rev6/rev6.c
blob: f7d8b409deea4e5b4fcb4ba8bcf3df22db3444b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "quantum.h"

void keyboard_pre_init_kb(void) {
    // Disable the PD peripheral in pre-init because its pins are being used in the matrix:
    PWR->CR3 |= PWR_CR3_UCPD_DBDIS;
    // Call the corresponding _user() function (see https://docs.qmk.fm/#/custom_quantum_functions)
    keyboard_pre_init_user();
}