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

@ -128,12 +128,6 @@ uint8_t matrix_cols(void)
void matrix_init(void)
{
#ifdef DISABLE_JTAG
// JTAG disable for PORT F. write JTD bit twice within four cycles.
MCUCR |= (1<<JTD);
MCUCR |= (1<<JTD);
#endif
debug_enable = true;
debug_matrix = true;
debug_mouse = true;