summaryrefslogtreecommitdiff
path: root/test/usb_tcpmv2_td_pd_ll_e3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/usb_tcpmv2_td_pd_ll_e3.c')
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/usb_tcpmv2_td_pd_ll_e3.c b/test/usb_tcpmv2_td_pd_ll_e3.c
index 153f32dc4f..52ce100d1c 100644
--- a/test/usb_tcpmv2_td_pd_ll_e3.c
+++ b/test/usb_tcpmv2_td_pd_ll_e3.c
@@ -42,7 +42,7 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
* and do not send GoodCrc for nRetryCount + 1 times
* (nRetryCount equals 3 since PD 2.1).
*/
- partner_send_msg(PD_MSG_SOP,
+ partner_send_msg(TCPC_TX_SOP,
PD_CTRL_GET_SINK_CAP,
0, 0, NULL);
@@ -63,7 +63,7 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
/*
* d) Handle correctly the Soft Reset procedure.
*/
- partner_send_msg(PD_MSG_SOP, PD_CTRL_ACCEPT, 0, 0, NULL);
+ partner_send_msg(TCPC_TX_SOP, PD_CTRL_ACCEPT, 0, 0, NULL);
/*
* e) Continue the bring-up procedure and check that the link is