diff options
author | jotix <47826561+jotix@users.noreply.github.com> | 2019-06-01 17:26:46 -0300 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-01 13:26:46 -0700 |
commit | 016a258301e309973fcc9f4083b6b8591050cb6d (patch) | |
tree | 7b4f7dad8041c9142fecdeabe3016c153829b03d /keyboards/handwired/jotanck/jotanck.c | |
parent | 9f5733b5951d3b8c59cd06ea89aa86784c025122 (diff) | |
download | firmware-016a258301e309973fcc9f4083b6b8591050cb6d.tar.gz firmware-016a258301e309973fcc9f4083b6b8591050cb6d.tar.bz2 firmware-016a258301e309973fcc9f4083b6b8591050cb6d.zip |
[Keymap] add 2 custom leds to handwired/jotanck (#6042)
* add JOTANCK_LED1&2
* set BACKLIGHT_ENABLE = no
* add 2 custom leds
* swap custom led pins 1&2
* readme update
* update default keymap
Diffstat (limited to 'keyboards/handwired/jotanck/jotanck.c')
-rw-r--r-- | keyboards/handwired/jotanck/jotanck.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/handwired/jotanck/jotanck.c b/keyboards/handwired/jotanck/jotanck.c index 7744570b2..812781c3b 100644 --- a/keyboards/handwired/jotanck/jotanck.c +++ b/keyboards/handwired/jotanck/jotanck.c @@ -1,6 +1,10 @@ #include "jotanck.h" void matrix_init_kb(void) { + matrix_init_user(); +} - matrix_init_user(); +void keyboard_pre_init_user() { + setPinOutput(JOTANCK_LED1); + setPinOutput(JOTANCK_LED2); } |