diff options
| author | hathach <[email protected]> | 2025-04-23 16:03:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-04-23 16:03:40 +0700 |
| commit | a2da575793a14fdfc5137a02843af0fd8f8b772a (patch) | |
| tree | ab9d028d20f8a709eb813d1538671b335ca1ddad /src/portable/ohci | |
| parent | 741cb3cf029e37682634eeb355c20420c0816c8d (diff) | |
rename and expose tuh_bus_info_get() to application
Diffstat (limited to 'src/portable/ohci')
| -rw-r--r-- | src/portable/ohci/ohci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/portable/ohci/ohci.c b/src/portable/ohci/ohci.c index 465b6731c..81091c9a7 100644 --- a/src/portable/ohci/ohci.c +++ b/src/portable/ohci/ohci.c @@ -38,6 +38,7 @@ #include "osal/osal.h" #include "host/hcd.h" +#include "host/usbh.h" #include "ohci.h" // TODO remove @@ -329,7 +330,7 @@ static void ed_init(ohci_ed_t *p_ed, uint8_t dev_addr, uint16_t ep_size, uint8_t } tuh_bus_info_t bus_info; - hcd_bus_info_get(dev_addr, &bus_info); + tuh_bus_info_get(dev_addr, &bus_info); p_ed->dev_addr = dev_addr; p_ed->ep_number = ep_addr & 0x0F; |
