diff options
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index d499d1f0b..6f29c97c9 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -93,10 +93,13 @@ endif | |||
| 93 | 93 | ||
| 94 | ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) | 94 | ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) |
| 95 | OPT_DEFS += -DRGBLIGHT_ENABLE | 95 | OPT_DEFS += -DRGBLIGHT_ENABLE |
| 96 | SRC += ws2812.c | ||
| 97 | SRC += $(QUANTUM_DIR)/rgblight.c | ||
| 98 | CIE1931_CURVE = yes | 96 | CIE1931_CURVE = yes |
| 99 | LED_BREATHING_TABLE = yes | 97 | LED_BREATHING_TABLE = yes |
| 98 | ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes) | ||
| 99 | OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER | ||
| 100 | else | ||
| 101 | SRC += ws2812.c | ||
| 102 | endif | ||
| 100 | endif | 103 | endif |
| 101 | 104 | ||
| 102 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | 105 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) |
