Move disable JTAG code from keyboard_init to keyboard_setup

This way all split keyboards are using that code instead of just those using split_common with the fix
This commit is contained in:
Danny Nguyen 2018-11-02 15:28:16 -04:00 committed by Drashna Jaelre
parent 5779ffb59a
commit a5fa75fcb3
4 changed files with 11 additions and 25 deletions

View 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. */