diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 14:40:22 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 21:22:22 +0300 |
commit | e85b1857968d4c0378b9778650c30b9d2bca3ea9 (patch) | |
tree | ec6de5be2bcf71e44a3ba83c87bc15363d51edc6 /tests/test_common/matrix.c | |
parent | 6a76192fa4bb8c5757c32cf3c65c4e7e7f6c7c3e (diff) | |
download | qmk_firmware-e85b1857968d4c0378b9778650c30b9d2bca3ea9.tar.gz qmk_firmware-e85b1857968d4c0378b9778650c30b9d2bca3ea9.zip |
Test two keys pressed at once
Diffstat (limited to 'tests/test_common/matrix.c')
-rw-r--r-- | tests/test_common/matrix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_common/matrix.c b/tests/test_common/matrix.c index 85556e2c4..5ab5bac6c 100644 --- a/tests/test_common/matrix.c +++ b/tests/test_common/matrix.c | |||
@@ -17,10 +17,12 @@ | |||
17 | 17 | ||
18 | #include "matrix.h" | 18 | #include "matrix.h" |
19 | #include "test_matrix.h" | 19 | #include "test_matrix.h" |
20 | #include <string.h> | ||
20 | 21 | ||
21 | static matrix_row_t matrix[MATRIX_ROWS] = {}; | 22 | static matrix_row_t matrix[MATRIX_ROWS] = {}; |
22 | 23 | ||
23 | void matrix_init(void) { | 24 | void matrix_init(void) { |
25 | memset(matrix, 0, sizeof(matrix)); | ||
24 | matrix_init_quantum(); | 26 | matrix_init_quantum(); |
25 | } | 27 | } |
26 | 28 | ||