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

@ -59,6 +59,10 @@
#define SNLED27351_I2C_ADDRESS_SDA 0x76
#define SNLED27351_I2C_ADDRESS_VDDIO 0x77
#if defined(LED_MATRIX_SNLED27351)
# define SNLED27351_LED_COUNT LED_MATRIX_LED_COUNT
#endif
typedef struct snled27351_led_t {
uint8_t driver : 2;
uint8_t v;