From: tmk Date: Sun, 11 Nov 2012 02:47:09 +0000 (+0900) Subject: Disable JTAG function for hid_liber to use PORTF. X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=98052b8afd52c93e2d5a1e6acd6afd6e6d2a288c;p=max%2Ftmk_keyboard.git Disable JTAG function for hid_liber to use PORTF. --- diff --git a/keyboard/hid_liber/matrix.c b/keyboard/hid_liber/matrix.c index de1790d7..8e373919 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<