aboutsummaryrefslogtreecommitdiff
path: root/tests/test_common/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common/matrix.c')
-rw-r--r--tests/test_common/matrix.c2
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
21static matrix_row_t matrix[MATRIX_ROWS] = {}; 22static matrix_row_t matrix[MATRIX_ROWS] = {};
22 23
23void matrix_init(void) { 24void matrix_init(void) {
25 memset(matrix, 0, sizeof(matrix));
24 matrix_init_quantum(); 26 matrix_init_quantum();
25} 27}
26 28