From b5bfa22ec42b7936d02821b0e50c1cf91fb7f279 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Tue, 31 Mar 2020 13:45:53 -0600 Subject: cleanup: correct max port count on test Looking at code, we only test one port, so make the test defines match the test code BRANCH=none BUG=none TEST=all tests pass Change-Id: I0b793425e20678173f3ec52fdcff4567f0b8ccb4 Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2131047 Reviewed-by: Diana Z --- test/test_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_config.h b/test/test_config.h index eafc524180..626cacccc5 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -312,7 +312,7 @@ int ncp15wb_calculate_temp(uint16_t adc); #endif #if defined(TEST_USB_PRL) -#define CONFIG_USB_PD_PORT_MAX_COUNT 2 +#define CONFIG_USB_PD_PORT_MAX_COUNT 1 #define CONFIG_USB_PD_TCPMV2 #undef CONFIG_USB_PE_SM #undef CONFIG_USB_TYPEC_SM -- cgit v1.2.1