summaryrefslogtreecommitdiff
path: root/keyboards/phentech/rpk_001
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/phentech/rpk_001')
-rw-r--r--keyboards/phentech/rpk_001/config.h6
-rw-r--r--keyboards/phentech/rpk_001/info.json2
-rw-r--r--keyboards/phentech/rpk_001/rpk_001.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/phentech/rpk_001/config.h b/keyboards/phentech/rpk_001/config.h
index baa207f065..097edc2bf7 100644
--- a/keyboards/phentech/rpk_001/config.h
+++ b/keyboards/phentech/rpk_001/config.h
@@ -4,8 +4,8 @@
#pragma once
/* RGB Config */
-#define DRIVER_1_CS B6
-#define DRIVER_1_EN B7
+#define AW20216S_CS_PIN_1 B6
+#define AW20216S_EN_PIN_1 B7
#define RGB_MATRIX_LED_COUNT 67
/* SPI Config */
@@ -18,7 +18,7 @@
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
/* RGB Matrix */
-#define RGB_DISABLE_WHEN_USB_SUSPENDED
+#define RGB_MATRIX_SLEEP
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_KEYRELEASES
diff --git a/keyboards/phentech/rpk_001/info.json b/keyboards/phentech/rpk_001/info.json
index d047c36456..fee1f53806 100644
--- a/keyboards/phentech/rpk_001/info.json
+++ b/keyboards/phentech/rpk_001/info.json
@@ -42,7 +42,7 @@
"on_state": 0
},
"rgb_matrix": {
- "driver": "aw20216",
+ "driver": "aw20216s",
"animations": {
"solid_color": true,
"alphas_mods": true,
diff --git a/keyboards/phentech/rpk_001/rpk_001.c b/keyboards/phentech/rpk_001/rpk_001.c
index 9f1a118759..b24c0c6c0e 100644
--- a/keyboards/phentech/rpk_001/rpk_001.c
+++ b/keyboards/phentech/rpk_001/rpk_001.c
@@ -7,7 +7,7 @@
// clang-format off
-const aw_led g_aw_leds[RGB_MATRIX_LED_COUNT] = {
+const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location