summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/basic/config.h2
-rw-r--r--tests/basic/test.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/basic/config.h b/tests/basic/config.h
index c5578b83f4..4da8d04253 100644
--- a/tests/basic/config.h
+++ b/tests/basic/config.h
@@ -17,7 +17,7 @@
#ifndef TESTS_BASIC_CONFIG_H_
#define TESTS_BASIC_CONFIG_H_
-#define MATRIX_ROWS 1
+#define MATRIX_ROWS 2
#define MATRIX_COLS 2
diff --git a/tests/basic/test.c b/tests/basic/test.c
index 01d1930ea5..2afb4d6a96 100644
--- a/tests/basic/test.c
+++ b/tests/basic/test.c
@@ -14,4 +14,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "quantum.h"
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = {
+ {KC_A, KC_B},
+ {KC_C, KC_D}
+ },
+};