diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test/host/ehci/test_pipe_bulk_open.c | 2 | ||||
| -rw-r--r-- | tests/test/host/ehci/test_pipe_interrupt_open.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/host/ehci/test_pipe_bulk_open.c b/tests/test/host/ehci/test_pipe_bulk_open.c index abbfc8675..0cc6c66bb 100644 --- a/tests/test/host/ehci/test_pipe_bulk_open.c +++ b/tests/test/host/ehci/test_pipe_bulk_open.c @@ -122,7 +122,7 @@ tusb_descriptor_endpoint_t const desc_ept_bulk_in = void verify_bulk_open_qhd(ehci_qhd_t *p_qhd, tusb_descriptor_endpoint_t const * desc_endpoint, uint8_t class_code) { - verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize); + verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize.size); TEST_ASSERT_FALSE(p_qhd->head_list_flag); TEST_ASSERT_EQUAL(0, p_qhd->data_toggle_control); diff --git a/tests/test/host/ehci/test_pipe_interrupt_open.c b/tests/test/host/ehci/test_pipe_interrupt_open.c index ec9d48c14..502f88c85 100644 --- a/tests/test/host/ehci/test_pipe_interrupt_open.c +++ b/tests/test/host/ehci/test_pipe_interrupt_open.c @@ -121,7 +121,7 @@ tusb_descriptor_endpoint_t const desc_ept_interrupt_out = }; void verify_int_qhd(ehci_qhd_t *p_qhd, tusb_descriptor_endpoint_t const * desc_endpoint, uint8_t class_code) { - verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize); + verify_open_qhd(p_qhd, desc_endpoint->bEndpointAddress, desc_endpoint->wMaxPacketSize.size); TEST_ASSERT_FALSE(p_qhd->head_list_flag); TEST_ASSERT_FALSE(p_qhd->data_toggle_control); |
