summaryrefslogtreecommitdiff
path: root/tests/test/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-04-05 14:05:05 +0700
committerhathach <[email protected]>2013-04-05 14:05:05 +0700
commitbc9a97a1be86b5f57eaa46cdf79fdeb110847105 (patch)
treef4af30989e2a9ad95f8fc635e60e7d162d6ee036 /tests/test/host
parent68dddefe7b87583cf2eaac68f2d77e2a5efd3d69 (diff)
refractor test
Diffstat (limited to 'tests/test/host')
-rw-r--r--tests/test/host/ehci/test_ehci_isr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test/host/ehci/test_ehci_isr.c b/tests/test/host/ehci/test_ehci_isr.c
index b2afa6c9c..40613b53a 100644
--- a/tests/test/host/ehci/test_ehci_isr.c
+++ b/tests/test/host/ehci/test_ehci_isr.c
@@ -93,11 +93,10 @@ void test_isr_device_connect_slowspeed(void)
void test_isr_device_disconnect(void)
{
- ehci_controller_device_unplug(hostid);
usbh_device_unplugged_isr_Expect(hostid);
//------------- Code Under Test -------------//
- hcd_isr(hostid);
+ ehci_controller_device_unplug(hostid);
TEST_ASSERT(regs->usb_cmd_bit.advacne_async);
}