From a9f1105f98ecca299d401f81cd5cc1699683e2ce Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 15 Feb 2024 18:11:50 +1100 Subject: LED drivers: add support for shutdown pin (#23058) * LED drivers: add support for shutdown pin * Update candidate boards --- keyboards/skyloong/gk61/v1/v1.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'keyboards/skyloong/gk61/v1/v1.c') diff --git a/keyboards/skyloong/gk61/v1/v1.c b/keyboards/skyloong/gk61/v1/v1.c index 1ee3522b50..cb362b5359 100644 --- a/keyboards/skyloong/gk61/v1/v1.c +++ b/keyboards/skyloong/gk61/v1/v1.c @@ -102,18 +102,13 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { #endif // RGB_MATRIX_ENABLE void suspend_power_down_kb() { - writePinLow(SDB); + writePinLow(SNLED27351_SDB_PIN); suspend_power_down_user(); } void suspend_wakeup_init_kb() { - writePinHigh(SDB); - - suspend_wakeup_init_user(); -} + writePinHigh(SNLED27351_SDB_PIN); -void board_init(void) { - setPinOutput(SDB); - writePinHigh(SDB); + suspend_wakeup_init_user(); } -- cgit v1.2.3