summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-04-21 16:24:42 +0700
committerhathach <[email protected]>2013-04-21 16:24:42 +0700
commitee9d53477ae74dd9730d1fbca1a0fad69027479b (patch)
tree909fb2ec0fc0d5f04d58c308c23a3798dc5887bf /tests
parenta493fab7532c7410becd96079e7d749024271296 (diff)
complete the support for correct polling of 1ms 2ms 4ms 8ms
Diffstat (limited to 'tests')
-rw-r--r--tests/test/host/ehci/test_pipe_interrupt_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/host/ehci/test_pipe_interrupt_open.c b/tests/test/host/ehci/test_pipe_interrupt_open.c
index 020b8d034..564733990 100644
--- a/tests/test/host/ehci/test_pipe_interrupt_open.c
+++ b/tests/test/host/ehci/test_pipe_interrupt_open.c
@@ -269,9 +269,9 @@ void test_open_interrupt_hs_interval_8(void)
pipe_hdl = hcd_pipe_open(dev_addr, &int_edp_interval, TUSB_CLASS_HID);
p_int_qhd = &ehci_data.device[ pipe_hdl.dev_addr-1].qhd[ pipe_hdl.index ];
- TEST_ASSERT_EQUAL(16, p_int_qhd->interval_ms);
+ TEST_ASSERT_EQUAL(255, p_int_qhd->interval_ms);
TEST_ASSERT_EQUAL(1, count_set_bits(p_int_qhd->interrupt_smask) );
- check_int_endpoint_link( get_period_head(hostid, 16), p_int_qhd);
+ check_int_endpoint_link( get_period_head(hostid, 255), p_int_qhd);
check_int_endpoint_link( get_period_head(hostid, 8) , p_int_qhd);
}