aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-11-30 04:54:57 -0800
committerJoel Challis <git@zvecr.com>2019-11-30 12:54:57 +0000
commitd98ed28e7c9920140fea9d84ed10b5c70521c287 (patch)
tree1246097c7c1c5341c3f427bda83e6473e16e2550
parentbeb9f3ab713442a0ef712d782d895c0fbd88277f (diff)
downloadfirmware-d98ed28e7c9920140fea9d84ed10b5c70521c287.tar.gz
firmware-d98ed28e7c9920140fea9d84ed10b5c70521c287.tar.bz2
firmware-d98ed28e7c9920140fea9d84ed10b5c70521c287.zip
[Keyboard] Fix calls in handwired/jotanck (#7515)
The C file for this keyboard was calling `keyboard_pre_init_user`. Which is wrong. This fixes that behavior.
-rw-r--r--keyboards/handwired/jotanck/jotanck.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/handwired/jotanck/jotanck.c b/keyboards/handwired/jotanck/jotanck.c
index 812781c3b..caf0ad014 100644
--- a/keyboards/handwired/jotanck/jotanck.c
+++ b/keyboards/handwired/jotanck/jotanck.c
@@ -1,10 +1,12 @@
#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);
+void keyboard_pre_init_kb() {
+ setPinOutput(JOTANCK_LED1);
+ setPinOutput(JOTANCK_LED2);
+
+ keyboard_pre_init_user();
}