소스 검색

[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();
 }