added optional dcd_control_status_complete()

This commit is contained in:
hathach
2019-11-03 18:00:07 +07:00
parent 2d98dae13e
commit 65e96e5d52
3 changed files with 7 additions and 0 deletions

View File

@@ -231,5 +231,7 @@ void test_usbd_control_in_zlp(void)
dcd_edpt_xfer_ExpectAndReturn(rhport, EDPT_CTRL_OUT, NULL, 0, true);
dcd_event_xfer_complete(rhport, EDPT_CTRL_OUT, 0, 0, false);
dcd_control_status_complete_Expect(rhport);
tud_task();
}