summaryrefslogtreecommitdiff
path: root/test/usb_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_pd.c')
-rw-r--r--test/usb_pd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/usb_pd.c b/test/usb_pd.c
index 69b7448ea6..1d8f91f8d8 100644
--- a/test/usb_pd.c
+++ b/test/usb_pd.c
@@ -819,7 +819,8 @@ void run_test(void)
{
test_reset();
init_ports();
- pd_set_dual_role(PD_DRP_TOGGLE_ON);
+ pd_set_dual_role(PORT0, PD_DRP_TOGGLE_ON);
+ pd_set_dual_role(PORT1, PD_DRP_TOGGLE_ON);
RUN_TEST(test_request);
RUN_TEST(test_sink);