summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-13 22:45:17 +1000
committerGitHub <noreply@github.com>2023-09-13 22:45:17 +1000
commita0aebe5cd586bb464105a8ce6eddf926372c6146 (patch)
tree70742d160be0e6e11a95c518ede17bb7e4b34823 /builddefs
parentb9f2121d109cf8c3c4ff8ba7cc382db34cc3e1e4 (diff)
aw20216: driver naming cleanups (#21891)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 094eda6fef..18f8b0bbfc 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -416,7 +416,7 @@ endif
RGB_MATRIX_ENABLE ?= no
-VALID_RGB_MATRIX_TYPES := aw20216 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom
+VALID_RGB_MATRIX_TYPES := aw20216s is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom
ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid RGB_MATRIX_DRIVER,RGB_MATRIX_DRIVER="$(RGB_MATRIX_DRIVER)" is not a valid matrix type)
@@ -437,10 +437,10 @@ endif
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes
- ifeq ($(strip $(RGB_MATRIX_DRIVER)), aw20216)
- OPT_DEFS += -DAW20216 -DSTM32_SPI -DHAL_USE_SPI=TRUE
+ ifeq ($(strip $(RGB_MATRIX_DRIVER)), aw20216s)
+ OPT_DEFS += -DAW20216S -DSTM32_SPI -DHAL_USE_SPI=TRUE
COMMON_VPATH += $(DRIVER_PATH)/led
- SRC += aw20216.c
+ SRC += aw20216s.c
QUANTUM_LIB_SRC += spi_master.c
endif