From 98052b8afd52c93e2d5a1e6acd6afd6e6d2a288c Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 11 Nov 2012 11:47:09 +0900 Subject: Disable JTAG function for hid_liber to use PORTF. --- keyboard/hid_liber/matrix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'keyboard/hid_liber/matrix.c') 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<