forked from mirrors/qmk_userspace
update to driver separation
This commit is contained in:
commit
dc7d0c7b74
13 changed files with 259 additions and 30 deletions
|
@ -373,7 +373,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
|
||||
|
@ -394,6 +394,7 @@ void rgblight_set(void) {
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef RGBLIGHT_ANIMATIONS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue