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
|
@ -40,6 +40,8 @@
|
|||
#include "eeconfig.h"
|
||||
#include "light_ws2812.h"
|
||||
|
||||
extern LED_TYPE led[RGBLED_NUM];
|
||||
|
||||
extern const uint8_t RGBLED_BREATHING_INTERVALS[4] PROGMEM;
|
||||
extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM;
|
||||
extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue