diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/usb_pd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/usb_pd.c b/test/usb_pd.c index 80c5d10885..7133af28e9 100644 --- a/test/usb_pd.c +++ b/test/usb_pd.c @@ -618,8 +618,14 @@ static int test_sink(void) TEST_ASSERT(pd_test_tx_msg_verify_crc(port)); TEST_ASSERT(pd_test_tx_msg_verify_eop(port)); + /* Wake from pd_start_tx */ + task_wake(PD_PORT_TO_TASK_ID(port)); + usleep(30 * MSEC); + /* Looks good. Ack the source cap. */ simulate_goodcrc(port, PD_ROLE_SINK, pd_port[port].msg_tx_id); + + /* Wake from pd_rx_start */ task_wake(PD_PORT_TO_TASK_ID(port)); usleep(30 * MSEC); inc_tx_id(port); |