continue on refratoring

This commit is contained in:
hathach
2013-04-05 14:26:28 +07:00
parent 10f5bce0df
commit d616fa6c10
8 changed files with 14 additions and 13 deletions
+1 -2
View File
@@ -53,8 +53,7 @@ uint8_t hostid;
ehci_registers_t * regs;
void setUp(void)
{
memclr_(&lpc_usb0, sizeof(LPC_USB0_Type));
memclr_(&lpc_usb1, sizeof(LPC_USB1_Type));
ehci_controller_init();
hostid = RANDOM(CONTROLLER_HOST_NUMBER) + TEST_CONTROLLER_HOST_START_INDEX;
regs = get_operational_register(hostid);