summaryrefslogtreecommitdiff
path: root/keyboards/skyloong/gk61/pro_48/pro_48.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-02-15 18:11:50 +1100
committerGitHub <noreply@github.com>2024-02-15 07:11:50 +0000
commita9f1105f98ecca299d401f81cd5cc1699683e2ce (patch)
tree879817fceabf9bbfaac7666999eb87c7a6693309 /keyboards/skyloong/gk61/pro_48/pro_48.c
parent0b7df03ab77552da806ed0b62d95fbf4199a534d (diff)
LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin * Update candidate boards
Diffstat (limited to 'keyboards/skyloong/gk61/pro_48/pro_48.c')
-rw-r--r--keyboards/skyloong/gk61/pro_48/pro_48.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/skyloong/gk61/pro_48/pro_48.c b/keyboards/skyloong/gk61/pro_48/pro_48.c
index dc1058a08b..ffa04f2c05 100644
--- a/keyboards/skyloong/gk61/pro_48/pro_48.c
+++ b/keyboards/skyloong/gk61/pro_48/pro_48.c
@@ -149,12 +149,12 @@ bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
void suspend_power_down_kb(void) {
- writePinLow(SDB);
+ writePinLow(IS31FL3743A_SDB_PIN);
suspend_power_down_user();
}
void suspend_wakeup_init_kb(void) {
- writePinHigh(SDB);
+ writePinHigh(IS31FL3743A_SDB_PIN);
suspend_wakeup_init_user();
}
#endif
@@ -220,8 +220,4 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
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
}