diff options
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 | ||