summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-12-24 18:26:08 +0000
committerGitHub <noreply@github.com>2024-12-24 10:26:08 -0800
commita822545da07f9561e231df15feb68d829c7b507f (patch)
tree2fdd3eb0501a0ea8488142693a99f994057a119f /builddefs
parent40c93bcdc6fc8bd5326db341395c95430d2b05c7 (diff)
Set custom effect defines for LED Matrix (#24745)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 7bfd1436e7..bb272099a6 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -433,6 +433,13 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
433 SRC += snled27351-mono.c 433 SRC += snled27351-mono.c
434 endif 434 endif
435 435
436 ifeq ($(strip $(LED_MATRIX_CUSTOM_KB)), yes)
437 OPT_DEFS += -DLED_MATRIX_CUSTOM_KB
438 endif
439
440 ifeq ($(strip $(LED_MATRIX_CUSTOM_USER)), yes)
441 OPT_DEFS += -DLED_MATRIX_CUSTOM_USER
442 endif
436endif 443endif
437 444
438# Deprecated driver names - do not use 445# Deprecated driver names - do not use