diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-09-15 21:44:39 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-09-15 21:44:39 -0400 |
commit | 5ad5c230d6cf9f90a8337ec54dee8b14e332d3c6 (patch) | |
tree | ac6e6b0417e3c6550e6c8e07f615fabdc74b1ef1 /common_features.mk | |
parent | afcf3a2878d5b5de0f9daba201ab44d779a8b2b1 (diff) | |
parent | dc7d0c7b7442b87600352e083e3da4a08cb2d069 (diff) |
Merge branch 'luizribeiro-ps2avrGB'
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 d499d1f0b7..6f29c97c9a 100644 --- a/common_features.mk +++ b/common_features.mk @@ -93,10 +93,13 @@ endif ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) OPT_DEFS += -DRGBLIGHT_ENABLE - SRC += ws2812.c - SRC += $(QUANTUM_DIR)/rgblight.c CIE1931_CURVE = yes LED_BREATHING_TABLE = yes + ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes) + OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER + else + SRC += ws2812.c + endif endif ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) |