add hard fault handler to bsp.c
rename class_install_subtask to class_open_subtask add class_close for unmount adding code for usbh_device_unplugged_isr & invoke it in hcd_isr
This commit is contained in:
@@ -97,3 +97,13 @@ void test_isr_device_connect_slowspeed(void)
|
||||
//------------- Code Under Test -------------//
|
||||
hcd_isr(hostid);
|
||||
}
|
||||
|
||||
void test_isr_device_disconnect(void)
|
||||
{
|
||||
ehci_controller_device_unplug(hostid);
|
||||
usbh_device_unplugged_isr_Expect(hostid);
|
||||
|
||||
//------------- Code Under Test -------------//
|
||||
hcd_isr(hostid);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user