summaryrefslogtreecommitdiff
path: root/keyboards/projectd
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-13 22:45:17 +1000
committerGitHub <noreply@github.com>2023-09-13 22:45:17 +1000
commita0aebe5cd586bb464105a8ce6eddf926372c6146 (patch)
tree70742d160be0e6e11a95c518ede17bb7e4b34823 /keyboards/projectd
parentb9f2121d109cf8c3c4ff8ba7cc382db34cc3e1e4 (diff)
aw20216: driver naming cleanups (#21891)
Diffstat (limited to 'keyboards/projectd')
-rw-r--r--keyboards/projectd/65/projectd_65_ansi/config.h10
-rw-r--r--keyboards/projectd/65/projectd_65_ansi/info.json2
-rw-r--r--keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/projectd/65/projectd_65_ansi/config.h b/keyboards/projectd/65/projectd_65_ansi/config.h
index 312a72979f..64e4595e1b 100644
--- a/keyboards/projectd/65/projectd_65_ansi/config.h
+++ b/keyboards/projectd/65/projectd_65_ansi/config.h
@@ -33,10 +33,10 @@
#define SPI_MOSI_PIN A7
#define SPI_MISO_PIN A6
-#define DRIVER_1_CS A15
-#define DRIVER_2_CS B15
-#define DRIVER_1_EN C13
-#define DRIVER_2_EN C13
+#define AW20216S_DRIVER_1_CS A15
+#define AW20216S_DRIVER_2_CS B15
+#define AW20216S_DRIVER_1_EN C13
+#define AW20216S_DRIVER_2_EN C13
-#define DRIVER_COUNT 1
+#define AW20216S_DRIVER_COUNT 1
#define RGB_MATRIX_LED_COUNT 71
diff --git a/keyboards/projectd/65/projectd_65_ansi/info.json b/keyboards/projectd/65/projectd_65_ansi/info.json
index 3d4041db17..c385f00ed1 100644
--- a/keyboards/projectd/65/projectd_65_ansi/info.json
+++ b/keyboards/projectd/65/projectd_65_ansi/info.json
@@ -80,7 +80,7 @@
"solid_multisplash": true
},
"center_point": [76, 25],
- "driver": "aw20216",
+ "driver": "aw20216s",
"layout": [
{ "flags": 4, "matrix": [1, 3], "x": 0, "y": 0 },
{ "flags": 4, "matrix": [1, 7], "x": 10, "y": 0 },
diff --git a/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c b/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c
index 6027128a96..a945e8020e 100644
--- a/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c
+++ b/keyboards/projectd/65/projectd_65_ansi/projectd_65_ansi.c
@@ -18,7 +18,7 @@
#ifdef RGB_MATRIX_ENABLE
-const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
+const aw20216s_led g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location