diff options
author | fauxpark <fauxpark@gmail.com> | 2019-08-21 15:18:52 +1000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-08-20 22:18:52 -0700 |
commit | f2c179de58c63b2202a490d283fd8fa216680ce7 (patch) | |
tree | b6ac2946b63566f604251af6c2e160457ca5e11c /keyboards/clueboard | |
parent | 977c316eb1bdca7f0e13026936322cb9a9fcd0d2 (diff) |
Remove superfluous JTAG disable code (#6445)
* Remove superfluous JTAG disable code
* 32A has differently named register
* Accidentally some operators
* 32A also has different JTAG pins
* Wrap disable_jtag() in an ifndef
* Document this new define
* Rename the define, it conflicts with a LUFA thing
Also, move the ifndef wrapping to the call in keyboard_setup()
Diffstat (limited to 'keyboards/clueboard')
-rw-r--r-- | keyboards/clueboard/17/17.c | 4 | ||||
-rw-r--r-- | keyboards/clueboard/66/rev2/rev2.c | 4 | ||||
-rw-r--r-- | keyboards/clueboard/66_hotswap/prototype/prototype.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c index 627aa236dd..9e8ca644ec 100644 --- a/keyboards/clueboard/17/17.c +++ b/keyboards/clueboard/17/17.c @@ -6,10 +6,6 @@ void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up matrix_init_user(); - - // JTAG disable for PORT F. write JTD bit twice within four cycles. - MCUCR |= (1<<JTD); - MCUCR |= (1<<JTD); }; void led_set_kb(uint8_t usb_led) { diff --git a/keyboards/clueboard/66/rev2/rev2.c b/keyboards/clueboard/66/rev2/rev2.c index 1a35b87b84..d676b6d5fb 100644 --- a/keyboards/clueboard/66/rev2/rev2.c +++ b/keyboards/clueboard/66/rev2/rev2.c @@ -8,10 +8,6 @@ void matrix_init_kb(void) { // runs once when the firmware starts up matrix_init_user(); led_init_ports(); - - // JTAG disable for PORT F. write JTD bit twice within four cycles. - MCUCR |= (1<<JTD); - MCUCR |= (1<<JTD); } diff --git a/keyboards/clueboard/66_hotswap/prototype/prototype.c b/keyboards/clueboard/66_hotswap/prototype/prototype.c index 991d4b8fae..7c307be61a 100644 --- a/keyboards/clueboard/66_hotswap/prototype/prototype.c +++ b/keyboards/clueboard/66_hotswap/prototype/prototype.c @@ -8,10 +8,6 @@ void matrix_init_kb(void) { // runs once when the firmware starts up matrix_init_user(); led_init_ports(); - - // JTAG disable for PORT F. write JTD bit twice within four cycles. - MCUCR |= (1<<JTD); - MCUCR |= (1<<JTD); } |