Add extern for 'led' global, set 'weak' attribute for rgblight_set()
This commit is contained in:
parent
273faa4d9c
commit
748181dccd
2 changed files with 3 additions and 0 deletions
|
@ -370,6 +370,7 @@ void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) {
|
|||
rgblight_set();
|
||||
}
|
||||
|
||||
+__attribute__ ((weak))
|
||||
void rgblight_set(void) {
|
||||
if (rgblight_config.enable) {
|
||||
#ifdef RGBW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue