diff options
author | Joel Challis <[email protected]> | 2023-10-22 00:47:37 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-22 00:47:37 +0100 |
commit | 48d9140cfc197d6f4c54bf8022902d28fac37624 (patch) | |
tree | 6c65df3ecca6f05109277bcd4a6bd2ca24b2d8fd /drivers | |
parent | d56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (diff) | |
download | qmk_firmware-48d9140cfc197d6f4c54bf8022902d28fac37624.tar.gz qmk_firmware-48d9140cfc197d6f4c54bf8022902d28fac37624.zip |
Fix invalid LED driver config (#22312)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/led/snled27351.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/led/snled27351.h b/drivers/led/snled27351.h index 770becdba1..67047c8921 100644 --- a/drivers/led/snled27351.h +++ b/drivers/led/snled27351.h @@ -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 |