diff options
| author | Ryan <fauxpark@gmail.com> | 2025-01-25 17:38:12 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-25 17:38:12 +1100 |
| commit | a6e931400ead19d3d34ca4a57785d1512dc2d12b (patch) | |
| tree | 7bd11496da317433f129f2736a94939987ccbac8 /builddefs | |
| parent | 2dd2d4eb8124cc92c9fb27d657fd9742a75a51e4 (diff) | |
Relocate base WS2812 code (#24850)
Diffstat (limited to 'builddefs')
| -rw-r--r-- | builddefs/common_features.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 989048d717..c88ce36011 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk | |||
| @@ -944,6 +944,8 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes) | |||
| 944 | 944 | ||
| 945 | OPT_DEFS += -DWS2812_$(strip $(shell echo $(WS2812_DRIVER) | tr '[:lower:]' '[:upper:]')) | 945 | OPT_DEFS += -DWS2812_$(strip $(shell echo $(WS2812_DRIVER) | tr '[:lower:]' '[:upper:]')) |
| 946 | 946 | ||
| 947 | COMMON_VPATH += $(DRIVER_PATH)/led | ||
| 948 | |||
| 947 | SRC += ws2812.c ws2812_$(strip $(WS2812_DRIVER)).c | 949 | SRC += ws2812.c ws2812_$(strip $(WS2812_DRIVER)).c |
| 948 | 950 | ||
| 949 | ifeq ($(strip $(PLATFORM)), CHIBIOS) | 951 | ifeq ($(strip $(PLATFORM)), CHIBIOS) |
