From e85b1857968d4c0378b9778650c30b9d2bca3ea9 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sun, 18 Jun 2017 14:40:22 +0300 Subject: Test two keys pressed at once --- tests/test_common/matrix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_common/matrix.c') diff --git a/tests/test_common/matrix.c b/tests/test_common/matrix.c index 85556e2c48..5ab5bac6c9 100644 --- a/tests/test_common/matrix.c +++ b/tests/test_common/matrix.c @@ -17,10 +17,12 @@ #include "matrix.h" #include "test_matrix.h" +#include static matrix_row_t matrix[MATRIX_ROWS] = {}; void matrix_init(void) { + memset(matrix, 0, sizeof(matrix)); matrix_init_quantum(); } -- cgit v1.2.3