qmk-firmware/keyboards/mino_plus/hotswap/hotswap.c
Shandon Anderson aa2903b283
[Keyboard] Add Mino Plus Hotswap (#20534)
Co-authored-by: dev <dev@devbox-2204.lan>
Co-authored-by: ShandonCodes <shandon@shandon.codes>
2023-07-04 22:52:35 -06:00

8 lines
234 B
C

// Copyright 2023 ShandonCodes (@ShandonCodes)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
void board_init(void) {
SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP;
SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP);
}