]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/keyboard.h
Move disable JTAG code from `keyboard_init` to `keyboard_setup`
[qmk_firmware.git] / tmk_core / common / keyboard.h
index f17003c2ff97c13e4c6585ed133b1e3bbb814463..71e594a8909c2416d6027edb62cd28250de8ae7e 100644 (file)
@@ -57,6 +57,8 @@ static inline bool IS_RELEASED(keyevent_t event) { return (!IS_NOEVENT(event) &&
     .time = (timer_read() | 1)                          \
 }
 
+void disable_jtag(void);
+
 /* it runs once at early stage of startup before keyboard_init. */
 void keyboard_setup(void);
 /* it runs once after initializing host side protocol, debug and MCU peripherals. */