diff options
Diffstat (limited to 'keyboards/shandoncodes/mino_plus/hotswap/hotswap.c')
-rw-r--r-- | keyboards/shandoncodes/mino_plus/hotswap/hotswap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/shandoncodes/mino_plus/hotswap/hotswap.c b/keyboards/shandoncodes/mino_plus/hotswap/hotswap.c new file mode 100644 index 0000000000..a5920b2617 --- /dev/null +++ b/keyboards/shandoncodes/mino_plus/hotswap/hotswap.c @@ -0,0 +1,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); +}
\ No newline at end of file |