summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--common_features.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk
index 6f29c97c9a..117f84260b 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -93,12 +93,13 @@ endif
 
 ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
     OPT_DEFS += -DRGBLIGHT_ENABLE
+    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
+	    SRC += ws2812.c
     endif
 endif