Explorar o código

[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 %!s(int64=5) %!d(string=hai) anos
pai
achega
d98ed28e7c
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  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();
 }