add some test for usbh_hcd integration
- add tests for pipe_close (while TDs are active) - add tests for device unplugged add tesst & implement the async_advance_isr to clean up "REMOVING" queue head - add helper find previous qhd - add remove qhd from async list - add is_removing field for async advance isr to clean up add pipe close for control pipe & bulk pipe (with tests) add helper get qhd from pipe_handle
This commit is contained in:
@@ -244,7 +244,6 @@ void test_control_xfer_isr(void)
|
||||
usbh_isr_Expect(((pipe_handle_t){.dev_addr = dev_addr}), 0);
|
||||
|
||||
//------------- Code Under TEST -------------//
|
||||
printf("control head = %x\n", p_qhd);
|
||||
hcd_isr(hostid);
|
||||
|
||||
TEST_ASSERT_NULL(p_qhd->p_qtd_list_head);
|
||||
|
||||
Reference in New Issue
Block a user