summaryrefslogtreecommitdiff
path: root/keyboards/gmmk/numpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gmmk/numpad')
-rw-r--r--keyboards/gmmk/numpad/config.h6
-rw-r--r--keyboards/gmmk/numpad/numpad.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/gmmk/numpad/config.h b/keyboards/gmmk/numpad/config.h
index 24a7a24a3f..d263ff4abf 100644
--- a/keyboards/gmmk/numpad/config.h
+++ b/keyboards/gmmk/numpad/config.h
@@ -28,9 +28,9 @@
#define SPI_MOSI_PIN B5
#define SPI_MISO_PIN B4
-#define AW20216S_DRIVER_1_CS B12
-#define AW20216S_DRIVER_1_EN A15
-#define AW20216S_DRIVER_1_PW_EN B13
+#define AW20216S_CS_PIN_1 B12
+#define AW20216S_EN_PIN_1 A15
+#define AW20216S_PW_EN_PIN_1 B13
#define AW20216S_DRIVER_COUNT 1
diff --git a/keyboards/gmmk/numpad/numpad.c b/keyboards/gmmk/numpad/numpad.c
index e3fe8e063d..5cdb34c7bd 100644
--- a/keyboards/gmmk/numpad/numpad.c
+++ b/keyboards/gmmk/numpad/numpad.c
@@ -107,12 +107,12 @@ led_config_t g_led_config = {{
2, 2, 2, 2, 2, 2, 2
} };
-# ifdef AW20216S_DRIVER_1_PW_EN
+# ifdef AW20216S_PW_EN_PIN_1
void keyboard_pre_init_user(void) {
wait_ms(2000);
- setPinOutput(AW20216S_DRIVER_1_PW_EN);
- writePinHigh(AW20216S_DRIVER_1_PW_EN);
+ setPinOutput(AW20216S_PW_EN_PIN_1);
+ writePinHigh(AW20216S_PW_EN_PIN_1);
}
# endif