hcd_init() take init struct
This commit is contained in:
@@ -368,10 +368,8 @@ static void process_bus_reset(uint8_t rhport)
|
||||
/*------------------------------------------------------------------*/
|
||||
/* Host API
|
||||
*------------------------------------------------------------------*/
|
||||
bool hcd_init(uint8_t rhport)
|
||||
{
|
||||
(void)rhport;
|
||||
|
||||
bool hcd_init(const tusb_rhport_init_t* rh_init) {
|
||||
(void) rh_init;
|
||||
KHCI->USBTRC0 |= USB_USBTRC0_USBRESET_MASK;
|
||||
while (KHCI->USBTRC0 & USB_USBTRC0_USBRESET_MASK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user