瀏覽代碼

[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.
Drashna Jaelre 5 年之前
父節點
當前提交
d98ed28e7c
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      keyboards/handwired/jotanck/jotanck.c

+ 6 - 4
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();
 }