test clean up on the way

This commit is contained in:
hathach
2013-05-12 21:51:38 +07:00
parent 0a0bf3fd56
commit dd6a0d8d69
2 changed files with 13 additions and 26 deletions

View File

@@ -67,7 +67,8 @@ void setUp(void)
{
memclr_(usbh_devices, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
hcd_init();
TEST_ASSERT_EQUAL( TUSB_ERROR_NONE,
hcd_init() );
dev_addr = 1;