Update RP2040 hcd_init to have rhport argument.

This commit is contained in:
Liam Fraser 2021-02-25 15:48:19 +00:00
parent 50a0bddd8b
commit e6e7c73f6e
1 changed files with 3 additions and 2 deletions

View File

@ -363,9 +363,10 @@ static void hw_endpoint_init(uint8_t dev_addr, const tusb_desc_endpoint_t *ep_de
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// HCD API // HCD API
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
bool hcd_init(void) bool hcd_init(uint8_t rhport)
{ {
pico_trace("hcd_init\n"); pico_trace("hcd_init %d\n", rhport);
assert(rhport == 0);
// Reset any previous state // Reset any previous state
rp2040_usb_init(); rp2040_usb_init();