diff options
author | Ryan <fauxpark@gmail.com> | 2024-02-15 18:11:50 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 07:11:50 +0000 |
commit | a9f1105f98ecca299d401f81cd5cc1699683e2ce (patch) | |
tree | 879817fceabf9bbfaac7666999eb87c7a6693309 /keyboards/skyloong/gk61/v1/v1.c | |
parent | 0b7df03ab77552da806ed0b62d95fbf4199a534d (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/v1/v1.c')
-rw-r--r-- | keyboards/skyloong/gk61/v1/v1.c | 11 |
1 files changed, 3 insertions, 8 deletions
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(); } |