Browse Source

Set custom effect defines for LED Matrix (#24745)

Joel Challis 1 year ago
parent
commit
a822545da0
1 changed files with 7 additions and 0 deletions
  1. 7 0
      builddefs/common_features.mk

+ 7 - 0
builddefs/common_features.mk

@@ -433,6 +433,13 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
         SRC += snled27351-mono.c
     endif
 
+    ifeq ($(strip $(LED_MATRIX_CUSTOM_KB)), yes)
+        OPT_DEFS += -DLED_MATRIX_CUSTOM_KB
+    endif
+
+    ifeq ($(strip $(LED_MATRIX_CUSTOM_USER)), yes)
+        OPT_DEFS += -DLED_MATRIX_CUSTOM_USER
+    endif
 endif
 
 # Deprecated driver names - do not use