summaryrefslogtreecommitdiff
path: root/keyboards/skyloong/gk61/pro/pro.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/skyloong/gk61/pro/pro.c')
-rw-r--r--keyboards/skyloong/gk61/pro/pro.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/skyloong/gk61/pro/pro.c b/keyboards/skyloong/gk61/pro/pro.c
index 6240d9cead..55fcf3b41f 100644
--- a/keyboards/skyloong/gk61/pro/pro.c
+++ b/keyboards/skyloong/gk61/pro/pro.c
@@ -213,14 +213,14 @@ bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
void suspend_power_down_kb() {
# ifdef RGB_MATRIX_ENABLE
- writePinLow(SDB);
+ writePinLow(IS31FL3743A_SDB_PIN);
# endif
suspend_power_down_user();
}
void suspend_wakeup_init_kb() {
# ifdef RGB_MATRIX_ENABLE
- writePinHigh(SDB);
+ writePinHigh(IS31FL3743A_SDB_PIN);
# endif
suspend_wakeup_init_user();
}
@@ -228,8 +228,4 @@ void suspend_wakeup_init_kb() {
void board_init(void) {
// JTAG-DP Disabled and SW-DP Disabled
AFIO->MAPR = (AFIO->MAPR & ~AFIO_MAPR_SWJ_CFG_Msk) | AFIO_MAPR_SWJ_CFG_DISABLE;
-# ifdef RGB_MATRIX_ENABLE
- setPinOutput(SDB);
- writePinHigh(SDB);
-# endif
}