summaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-24 22:24:27 +0700
committerhathach <[email protected]>2013-03-24 22:24:27 +0700
commitb15694bc5fe9ddf076156cb03eb5a25cb7f80f5b (patch)
treebfa770c08c244ec872850bf1ccdbb6cdba18a693 /tests/test
parent62f5ec8a0fd01529127f54da9efb8c8ed1fc8048 (diff)
fix potential bug when insert new queue head to list
Diffstat (limited to 'tests/test')
-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 f9bffd908..8cf656c26 100644
--- a/tests/test/host/ehci/test_pipe_interrupt_open.c
+++ b/tests/test/host/ehci/test_pipe_interrupt_open.c
@@ -124,7 +124,7 @@ void verify_int_qhd(ehci_qhd_t *p_qhd, tusb_descriptor_endpoint_t const * desc_e
verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize);
TEST_ASSERT_FALSE(p_qhd->head_list_flag);
- TEST_ASSERT_EQUAL(0, p_qhd->data_toggle_control);
+ TEST_ASSERT_FALSE(p_qhd->data_toggle_control);
TEST_ASSERT_FALSE(p_qhd->non_hs_control_endpoint);
// TEST_ASSERT_EQUAL(desc_endpoint->bInterval); TDD highspeed bulk/control OUT
@@ -153,7 +153,7 @@ void test_open_interrupt_qhd_hs(void)
verify_int_qhd(p_qhd, &desc_ept_interrupt_out, TUSB_CLASS_HID);
TEST_ASSERT_EQUAL(0xFF, p_qhd->interrupt_smask);
- //TEST_ASSERT_EQUAL(0, p_qhd->non_hs_interrupt_cmask); cmask in high speed is ignored
+// TEST_ASSERT_EQUAL(0, p_qhd->non_hs_interrupt_cmask);
}
void test_open_interrupt_qhd_non_hs(void)