rev6.c 403 B

1234567891011
  1. // Copyright 2024 Danny Nguyen (@nooges)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "quantum.h"
  4. void keyboard_pre_init_kb(void) {
  5. // Disable the PD peripheral in pre-init because its pins are being used in the matrix:
  6. PWR->CR3 |= PWR_CR3_UCPD_DBDIS;
  7. // Call the corresponding _user() function (see https://docs.qmk.fm/#/custom_quantum_functions)
  8. keyboard_pre_init_user();
  9. }