summaryrefslogtreecommitdiff
path: root/src/portable/raspberrypi
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-04-23 16:03:40 +0700
committerhathach <[email protected]>2025-04-23 16:03:40 +0700
commita2da575793a14fdfc5137a02843af0fd8f8b772a (patch)
treeab9d028d20f8a709eb813d1538671b335ca1ddad /src/portable/raspberrypi
parent741cb3cf029e37682634eeb355c20420c0816c8d (diff)
rename and expose tuh_bus_info_get() to application
Diffstat (limited to 'src/portable/raspberrypi')
-rw-r--r--src/portable/raspberrypi/pio_usb/hcd_pio_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
index 0e3d0d31a..d59a2b4ee 100644
--- a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
+++ b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
@@ -115,7 +115,7 @@ void hcd_int_disable(uint8_t rhport) {
bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const *desc_ep) {
tuh_bus_info_t bus_info;
- hcd_bus_info_get(dev_addr, &bus_info);
+ tuh_bus_info_get(dev_addr, &bus_info);
bool const need_pre = (bus_info.hub_addr && bus_info.speed == TUSB_SPEED_LOW);
uint8_t const pio_rhport = RHPORT_PIO(rhport);