diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 97769e8d939a..ba5ec9aa4e12 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -437,6 +437,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