summaryrefslogtreecommitdiff
path: root/keyboards/handwired/jotanck/jotanck.c
diff options
context:
space:
mode:
authorjotix <47826561+jotix@users.noreply.github.com>2019-06-01 17:26:46 -0300
committerDrashna Jaelre <drashna@live.com>2019-06-01 13:26:46 -0700
commit016a258301e309973fcc9f4083b6b8591050cb6d (patch)
tree7b4f7dad8041c9142fecdeabe3016c153829b03d /keyboards/handwired/jotanck/jotanck.c
parent9f5733b5951d3b8c59cd06ea89aa86784c025122 (diff)
[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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/handwired/jotanck/jotanck.c b/keyboards/handwired/jotanck/jotanck.c
index 7744570b23..812781c3b7 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);
}