hcd_init() take init struct

This commit is contained in:
hathach
2024-10-11 17:53:39 +07:00
parent f3b7d7515e
commit 1587d48e89
11 changed files with 25 additions and 36 deletions

View File

@@ -375,9 +375,8 @@ static void _hw_endpoint_init(struct hw_endpoint *ep, uint8_t dev_addr, uint8_t
//--------------------------------------------------------------------+
// HCD API
//--------------------------------------------------------------------+
bool hcd_init(uint8_t rhport)
{
(void) rhport;
bool hcd_init(const tusb_rhport_init_t* rh_init) {
(void) rh_init;
pico_trace("hcd_init %d\n", rhport);
assert(rhport == 0);