forked from mirrors/qmk_userspace
Added a build flag for using a custom rgblight driver
This commit is contained in:
parent
964d7060e1
commit
d4cd5dda5c
7 changed files with 57 additions and 23 deletions
|
@ -364,7 +364,7 @@ void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) {
|
|||
rgblight_set();
|
||||
}
|
||||
|
||||
__attribute__ ((weak))
|
||||
#ifndef RGBLIGHT_CUSTOM_DRIVER
|
||||
void rgblight_set(void) {
|
||||
if (rgblight_config.enable) {
|
||||
#ifdef RGBW
|
||||
|
@ -385,6 +385,7 @@ void rgblight_set(void) {
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef RGBLIGHT_ANIMATIONS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue