diff options
Diffstat (limited to 'keyboards/nebula12/nebula12.c')
-rwxr-xr-x | keyboards/nebula12/nebula12.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/nebula12/nebula12.c b/keyboards/nebula12/nebula12.c index 6deecb8f47..b23024acf1 100755 --- a/keyboards/nebula12/nebula12.c +++ b/keyboards/nebula12/nebula12.c @@ -18,3 +18,12 @@ #endif #include "nebula12.h" + +void board_init(void) { + SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP; + SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP); +} + +void keyboard_post_init_user(void) { +rgblight_set_effect_range(0, 4); +} |