a822545da07f9561e231df15feb68d829c7b507f
- Author
- Joel Challis <git@zvecr.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Set custom effect defines for LED Matrix (#24745)
Diff
1diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
2index 7bfd1436e715fd0ea9971063d9714f4c16acf2ee..bb272099a67e5c6389c2cbf0a041084b1c40e79f 100644
3--- a/builddefs/common_features.mk
4+++ b/builddefs/common_features.mk
5@@ -433,6 +433,13 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
6 SRC += snled27351-mono.c
7 endif
8
9+ ifeq ($(strip $(LED_MATRIX_CUSTOM_KB)), yes)
10+ OPT_DEFS += -DLED_MATRIX_CUSTOM_KB
11+ endif
12+
13+ ifeq ($(strip $(LED_MATRIX_CUSTOM_USER)), yes)
14+ OPT_DEFS += -DLED_MATRIX_CUSTOM_USER
15+ endif
16 endif
17
18 # Deprecated driver names - do not use