diff options
author | Denis Brockus <dbrockus@google.com> | 2021-01-06 12:16:41 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-07 21:14:20 +0000 |
commit | 566c4b5f57de1dabf416522358722f70ac73323e (patch) | |
tree | 2adf08abd10624239148ad421c3c47f9b3e8129b /test/usb_tcpmv2_compliance.c | |
parent | fd9de64cdfd14943110cde1ac69c1f5542acccd1 (diff) | |
download | chrome-ec-566c4b5f57de1dabf416522358722f70ac73323e.tar.gz |
TCPMv2: Compliance Unit Test - make tx msg id per sop type
BUG=none
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I9de64e1921029ec4bb5e09ae3aa2c07bf39c692b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613725
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'test/usb_tcpmv2_compliance.c')
-rw-r--r-- | test/usb_tcpmv2_compliance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usb_tcpmv2_compliance.c b/test/usb_tcpmv2_compliance.c index 569fab8527..d827e3da04 100644 --- a/test/usb_tcpmv2_compliance.c +++ b/test/usb_tcpmv2_compliance.c @@ -13,11 +13,11 @@ void before_test(void) { - partner_tx_id = 0; partner_set_pd_rev(PD_REV30); mock_usb_mux_reset(); mock_tcpci_reset(); + mock_tcpci_tx_msg_id_reset(TCPC_TX_SOP_ALL); /* Restart the PD task and let it settle */ task_set_event(TASK_ID_PD_C0, TASK_EVENT_RESET_DONE); |