diff options
| author | hathach <[email protected]> | 2021-02-23 19:45:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-02-23 19:45:53 +0700 |
| commit | 0de6a05d73ca79974bc45f5cfa94b2246113c1f1 (patch) | |
| tree | d8723e33a8dc945278ea248470fe26aa8b92d760 /src/host | |
| parent | 5108d7613600449c50af9e8ce373571d56bed3cc (diff) | |
fix ohci hcd_init() signature change
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/ohci/ohci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/host/ohci/ohci.c b/src/host/ohci/ohci.c index d9bbfc8c6..44acebf72 100644 --- a/src/host/ohci/ohci.c +++ b/src/host/ohci/ohci.c @@ -141,8 +141,10 @@ static void ed_list_remove_by_addr(ohci_ed_t * p_head, uint8_t dev_addr); // USBH-HCD API //--------------------------------------------------------------------+ // Initialization according to 5.1.1.4 -bool hcd_init(void) +bool hcd_init(uint8_t rhport) { + (void) rhport; + //------------- Data Structure init -------------// tu_memclr(&ohci_data, sizeof(ohci_data_t)); for(uint8_t i=0; i<32; i++) |
