summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/matrix.c
diff options
context:
space:
mode:
authorMikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>2018-01-12 18:57:48 +0100
committerJack Humbert <jack.humb@gmail.com>2018-01-12 12:57:48 -0500
commite2352d4fbf6b11cc70b578abadb322b2401017ef (patch)
tree76e072cf49d8c3f77d383a44b3a452eea6a17ab9 /keyboards/lets_split/matrix.c
parent3a2acd447540cd6db54b9b9d672ac6faf19e1b94 (diff)
downloadqmk_firmware-e2352d4fbf6b11cc70b578abadb322b2401017ef.tar.gz
qmk_firmware-e2352d4fbf6b11cc70b578abadb322b2401017ef.zip
Updated files to better support sockets version (#2255)
Diffstat (limited to 'keyboards/lets_split/matrix.c')
-rw-r--r--keyboards/lets_split/matrix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c
index 47cda6fa80..77def4212b 100644
--- a/keyboards/lets_split/matrix.c
+++ b/keyboards/lets_split/matrix.c
@@ -124,6 +124,12 @@ uint8_t matrix_cols(void)
void matrix_init(void)
{
+#ifdef DISABLE_JTAG
+ // JTAG disable for PORT F. write JTD bit twice within four cycles.
+ MCUCR |= (1<<JTD);
+ MCUCR |= (1<<JTD);
+#endif
+
debug_enable = true;
debug_matrix = true;
debug_mouse = true;