diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 23:49:38 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-06-18 23:49:38 +0300 |
commit | 36f820be7e80bc8f1f5489373708356cf142c269 (patch) | |
tree | cf3561b80650e536a2c41f0e3bb4bc70635b6435 /tests/test_common/test_matrix.h | |
parent | e85b1857968d4c0378b9778650c30b9d2bca3ea9 (diff) | |
download | qmk_firmware-36f820be7e80bc8f1f5489373708356cf142c269.tar.gz |
Add a test fixture
It only initializes QMK once, and clears the matrix after each test.
Diffstat (limited to 'tests/test_common/test_matrix.h')
-rw-r--r-- | tests/test_common/test_matrix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_common/test_matrix.h b/tests/test_common/test_matrix.h index afc65c556..174fc4f22 100644 --- a/tests/test_common/test_matrix.h +++ b/tests/test_common/test_matrix.h @@ -23,6 +23,7 @@ extern "C" { void press_key(uint8_t col, uint8_t row); void release_key(uint8_t col, uint8_t row); +void clear_all_keys(void); #ifdef __cplusplus } |