1
0
Fork 0

Nebula12 RGBLIGHT buffer workaround (#10555)

* Work around for rgblight buffer

* Update config.h

* Prettify

* Clip led range
This commit is contained in:
yiancar 2020-10-18 14:37:33 +01:00 committed by GitHub
parent f952d4f7b7
commit d49dcdd667
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 1919 deletions

View file

@ -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);
}