Răsfoiți Sursa

[core] fix rgb source include

Jack Humbert 7 ani în urmă
părinte
comite
024f0455de
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      common_features.mk

+ 2 - 1
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