mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 08:27:56 +06:00
12 lines
412 B
C
12 lines
412 B
C
// 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 (B4, B6) 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();
|
|
}
|