summaryrefslogtreecommitdiffstats
path: root/keyboards/nebula12/nebula12.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nebula12/nebula12.c')
-rwxr-xr-xkeyboards/nebula12/nebula12.c9
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);
+}