This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Disable JTAG function for hid_liber to use PORTF.
pull/12/head
tmk
11 years ago
parent
1a4ae0fc36
commit
98052b8afd
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
keyboard/hid_liber/matrix.c
+ 4
- 0
keyboard/hid_liber/matrix.c
View File
@ -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
(
)
;
Write
Preview
Loading…
Cancel
Save