summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index d88e71ced9..336ab5443a 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -82,5 +82,9 @@ int board_discharge_on_ac(int enabled);
#define I2C_PORT_MASTER 1
#endif
+#ifdef TEST_BUTTON
+#define CONFIG_BUTTON_COUNT 2
+#endif
+
#endif /* TEST_BUILD */
#endif /* __CROS_EC_TEST_CONFIG_H */