1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 60 additions and 0 deletions

View file

@ -61,6 +61,10 @@
#define IS31FL3741_I2C_ADDRESS_SDA 0x32
#define IS31FL3741_I2C_ADDRESS_VCC 0x33
#if defined(LED_MATRIX_IS31FL3741)
# define IS31FL3741_LED_COUNT LED_MATRIX_LED_COUNT
#endif
typedef struct is31fl3741_led_t {
uint32_t driver : 2;
uint32_t v : 10;