summaryrefslogtreecommitdiff
path: root/keyboards/mino_plus/hotswap/hotswap.c
blob: a5920b26173bf1a299ec4c27182aae2880c4569e (plain)
1
2
3
4
5
6
7
8
// 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);
}