summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/jotpad16/jotpad16.c
diff options
context:
space:
mode:
authorjotix <47826561+jotix@users.noreply.github.com>2020-04-12 14:25:09 -0300
committerGitHub <noreply@github.com>2020-04-12 10:25:09 -0700
commit8a5c1e1859b22dff89d6f0200c258857e3f8c2a5 (patch)
tree97bc65c7cbe9c842a51c7fa138975a1cdccf2a5c /keyboards/handwired/jotpad16/jotpad16.c
parent6265b783073e943b8f5b2f7118a2ec8df1fd2ebc (diff)
[Keyboard] jotpad16 status leds (#8643)
* jotpad16 status leds * jotpad16 * readme.md
Diffstat (limited to 'keyboards/handwired/jotpad16/jotpad16.c')
-rw-r--r--keyboards/handwired/jotpad16/jotpad16.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/handwired/jotpad16/jotpad16.c b/keyboards/handwired/jotpad16/jotpad16.c
index 512234b917..2f112a6101 100644
--- a/keyboards/handwired/jotpad16/jotpad16.c
+++ b/keyboards/handwired/jotpad16/jotpad16.c
@@ -4,3 +4,10 @@ void matrix_init_kb(void) {
matrix_init_user();
}
+
+void keyboard_pre_init_kb() {
+ setPinOutput(JOTPAD16_LED1);
+ setPinOutput(JOTPAD16_LED2);
+
+ keyboard_pre_init_user();
+}