Add _LED_COUNT defines to LED drivers (#22309)

This commit is contained in:
Ryan 2023-10-30 08:39:26 +10:00 committed by GitHub
parent c667da0190
commit 17ccf3521b
Failed to generate hash of commit
15 changed files with 60 additions and 0 deletions

View file

@ -57,6 +57,10 @@
#define IS31FL3731_I2C_ADDRESS_SDA 0x76
#define IS31FL3731_I2C_ADDRESS_VCC 0x77
#if defined(LED_MATRIX_IS31FL3731)
# define IS31FL3731_LED_COUNT LED_MATRIX_LED_COUNT
#endif
typedef struct is31fl3731_led_t {
uint8_t driver : 2;
uint8_t v;