Browse Source

Update matrix.c

master
di0ib 4 years ago
parent
commit
dc0e244fc8
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      keyboard/4x4/matrix.c

+ 4
- 0
keyboard/4x4/matrix.c View File

@@ -56,6 +56,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
unselect_rows();
init_cols();

Loading…
Cancel
Save