diff options
author | tmk <nobody@nowhere> | 2012-11-11 11:47:09 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-11-11 11:47:09 +0900 |
commit | 98052b8afd52c93e2d5a1e6acd6afd6e6d2a288c (patch) | |
tree | e88dcba7bf798a68ca3bfb238c1acb857968eb43 /keyboard | |
parent | 1a4ae0fc366e5f51fb4559a106481335b129208a (diff) |
Disable JTAG function for hid_liber to use PORTF.
Diffstat (limited to 'keyboard')
-rw-r--r-- | keyboard/hid_liber/matrix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboard/hid_liber/matrix.c b/keyboard/hid_liber/matrix.c index de1790d7e9..8e3739197d 100644 --- a/keyboard/hid_liber/matrix.c +++ b/keyboard/hid_liber/matrix.c @@ -137,6 +137,10 @@ uint8_t matrix_cols(void) void matrix_init(void) { + // To use PORTF disable JTAG with writing JTD bit twice within four cycles. + MCUCR |= (1<<JTD); + MCUCR |= (1<<JTD); + // initialize row and col setup_io_pins(); setup_leds(); |