summaryrefslogtreecommitdiff
path: root/keyboards/gmmk/numpad/numpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gmmk/numpad/numpad.c')
-rw-r--r--keyboards/gmmk/numpad/numpad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/gmmk/numpad/numpad.c b/keyboards/gmmk/numpad/numpad.c
index 5cdb34c7bd..966ba08710 100644
--- a/keyboards/gmmk/numpad/numpad.c
+++ b/keyboards/gmmk/numpad/numpad.c
@@ -19,7 +19,7 @@
#ifdef RGB_MATRIX_ENABLE
-const aw20216s_led_t g_aw20216s_leds[RGB_MATRIX_LED_COUNT] = {
+const aw20216s_led_t PROGMEM g_aw20216s_leds[AW20216S_LED_COUNT] = {
/* Refer to AW20216S manual for these locations
* driver
* | R location
@@ -111,8 +111,8 @@ led_config_t g_led_config = {{
void keyboard_pre_init_user(void) {
wait_ms(2000);
- setPinOutput(AW20216S_PW_EN_PIN_1);
- writePinHigh(AW20216S_PW_EN_PIN_1);
+ setPinOutput(AW20216S_PW_EN_PIN);
+ writePinHigh(AW20216S_PW_EN_PIN);
}
# endif