Skip to content

Commit

Permalink
LED drivers: extract IS31FL3746A from IS31COMMON (#22637)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Jan 1, 2024
1 parent a88dd67 commit 0a6913b
Show file tree
Hide file tree
Showing 11 changed files with 828 additions and 207 deletions.
6 changes: 2 additions & 4 deletions builddefs/common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,9 @@ ifeq ($(strip $(LED_MATRIX_ENABLE)), yes)
endif

ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3746a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3746a-simple.c
endif

ifeq ($(strip $(LED_MATRIX_DRIVER)), snled27351)
Expand Down Expand Up @@ -518,10 +517,9 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
endif

ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3746a)
OPT_DEFS += -DIS31FLCOMMON
I2C_DRIVER_REQUIRED = yes
COMMON_VPATH += $(DRIVER_PATH)/led/issi
SRC += is31flcommon.c
SRC += is31fl3746a.c
endif

ifeq ($(strip $(RGB_MATRIX_DRIVER)), snled27351)
Expand Down
198 changes: 0 additions & 198 deletions drivers/led/issi/is31fl3746.h

This file was deleted.

Loading

0 comments on commit 0a6913b

Please sign in to comment.