summaryrefslogtreecommitdiff
path: root/keyboards/akko
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-21 21:41:59 +1000
committerGitHub <noreply@github.com>2023-10-21 21:41:59 +1000
commitd56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (patch)
tree68f890de77cbf2750462def33a3ac5d3de11a8c2 /keyboards/akko
parent3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff)
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/akko')
-rw-r--r--keyboards/akko/5108/config.h4
-rw-r--r--keyboards/akko/acr87/config.h6
-rw-r--r--keyboards/akko/top40/config.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/akko/5108/config.h b/keyboards/akko/5108/config.h
index 73c7c27939..b86387cba6 100644
--- a/keyboards/akko/5108/config.h
+++ b/keyboards/akko/5108/config.h
@@ -35,8 +35,8 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 2
-#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
-#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
+#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
+#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
diff --git a/keyboards/akko/acr87/config.h b/keyboards/akko/acr87/config.h
index 1ff3380d6a..af35a5aa24 100644
--- a/keyboards/akko/acr87/config.h
+++ b/keyboards/akko/acr87/config.h
@@ -32,9 +32,9 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 3
-#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
-#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
-#define DRIVER_ADDR_3 SNLED27351_I2C_ADDRESS_SDA
+#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
+#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
+#define SNLED27351_I2C_ADDRESS_3 SNLED27351_I2C_ADDRESS_SDA
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C
diff --git a/keyboards/akko/top40/config.h b/keyboards/akko/top40/config.h
index fd10534ce7..b19641348c 100644
--- a/keyboards/akko/top40/config.h
+++ b/keyboards/akko/top40/config.h
@@ -32,8 +32,8 @@
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 2
-#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
-#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
+#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
+#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
#define I2C1_SCL_PAL_MODE 4
#define I2C1_OPMODE OPMODE_I2C
#define I2C1_CLOCK_SPEED 400000 /* 400000 */