diff options
author | Joel Challis <git@zvecr.com> | 2020-11-17 17:06:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 17:06:30 +0000 |
commit | ddcb1794fa83e62e5e48536f4bc02ada63da411a (patch) | |
tree | db5df8970f8ed22c77bdd021b781a429a5f05b49 /keyboards/cutie_club/wraith/wraith.c | |
parent | adfd34c4512f6215a49a8f705ce408d6c82fb8cc (diff) | |
download | qmk_firmware-ddcb1794fa83e62e5e48536f4bc02ada63da411a.tar.gz qmk_firmware-ddcb1794fa83e62e5e48536f4bc02ada63da411a.zip |
Refactor to use led config - Part 1 (#10905)
* Refactor to use led config
* Refactor to use led config
* Refactor to use led config
* Refactor to use led config
* Refactor to use led config
Diffstat (limited to 'keyboards/cutie_club/wraith/wraith.c')
-rw-r--r-- | keyboards/cutie_club/wraith/wraith.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/keyboards/cutie_club/wraith/wraith.c b/keyboards/cutie_club/wraith/wraith.c index 95265384ee..cb2d1911c7 100644 --- a/keyboards/cutie_club/wraith/wraith.c +++ b/keyboards/cutie_club/wraith/wraith.c @@ -15,29 +15,8 @@ */ #include "wraith.h" -// Optional override functions below. -// You can leave any or all of these undefined. -// These are only required if you want to perform custom actions. - void matrix_init_kb(void) { - setPinOutput(B3); - setPinOutput(B0); - matrix_init_user(); -} - -void matrix_scan_kb(void) { - matrix_scan_user(); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - return process_record_user(keycode, record); -} + setPinOutput(B0); -void led_set_kb(uint8_t usb_led) { - if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { - writePinLow(B3); - } else { - writePinHigh(B3); - } - led_set_user(usb_led); + matrix_init_user(); } |