aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2023-10-22 00:47:37 +0100
committerGitHub <[email protected]>2023-10-22 00:47:37 +0100
commit48d9140cfc197d6f4c54bf8022902d28fac37624 (patch)
tree6c65df3ecca6f05109277bcd4a6bd2ca24b2d8fd /drivers
parentd56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (diff)
downloadqmk_firmware-48d9140cfc197d6f4c54bf8022902d28fac37624.tar.gz
qmk_firmware-48d9140cfc197d6f4c54bf8022902d28fac37624.zip
Fix invalid LED driver config (#22312)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/led/snled27351.h12
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