1
0
Fork 0

Fix invalid LED driver config (#22312)

This commit is contained in:
Joel Challis 2023-10-22 00:47:37 +01:00 committed by GitHub
parent d56ee70c52
commit 48d9140cfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 4 deletions

View file

@ -24,6 +24,18 @@
#ifdef DRIVER_COUNT
# define SNLED27351_DRIVER_COUNT DRIVER_COUNT
#endif
#ifdef DRIVER_ADDR_1
# define SNLED27351_I2C_ADDRESS_1 DRIVER_ADDR_1
#endif
#ifdef DRIVER_ADDR_2
# define SNLED27351_I2C_ADDRESS_2 DRIVER_ADDR_2
#endif
#ifdef DRIVER_ADDR_3
# define SNLED27351_I2C_ADDRESS_3 DRIVER_ADDR_3
#endif
#ifdef DRIVER_ADDR_4
# define SNLED27351_I2C_ADDRESS_4 DRIVER_ADDR_4
#endif
#ifdef CKLED2001_TIMEOUT
# define SNLED27351_I2C_TIMEOUT CKLED2001_TIMEOUT
#endif