summaryrefslogtreecommitdiff
path: root/test/usb_tcpmv2_td_pd_src3_e26.c
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-08-18 12:21:41 -0600
committerCommit Bot <commit-bot@chromium.org>2021-08-18 23:04:52 +0000
commit110f908a498551a9f90d86d8b5dd369acdf98438 (patch)
treef192b41790edf592188180d5efe4eb24e0a0ac07 /test/usb_tcpmv2_td_pd_src3_e26.c
parent59e395027ab03c0ca2b5263193b30dff1c063c44 (diff)
downloadchrome-ec-110f908a498551a9f90d86d8b5dd369acdf98438.tar.gz
TCPM: Remove enum pd_msg_type
Convert usages of this enum to tcpm_sop_type. BUG=b:155476419 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I5fed273d72e7ad0e191db0cb0d121b70bdd9ecdb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3104291 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'test/usb_tcpmv2_td_pd_src3_e26.c')
-rw-r--r--test/usb_tcpmv2_td_pd_src3_e26.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usb_tcpmv2_td_pd_src3_e26.c b/test/usb_tcpmv2_td_pd_src3_e26.c
index 5e899ef9b6..405e36f9e2 100644
--- a/test/usb_tcpmv2_td_pd_src3_e26.c
+++ b/test/usb_tcpmv2_td_pd_src3_e26.c
@@ -33,7 +33,7 @@ int test_td_pd_src3_e26(void)
/*
* ...and sends a Get_Source_Cap message to the UUT.
*/
- partner_send_msg(PD_MSG_SOP, PD_CTRL_GET_SOURCE_CAP, 0, 0, NULL);
+ partner_send_msg(TCPC_TX_SOP, PD_CTRL_GET_SOURCE_CAP, 0, 0, NULL);
/*
* c) Upon receipt of the Source_Capabilities Message, the Tester