Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow retrieving the port a device is connected to #2357

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Removed ptr check, as it returns bool
  • Loading branch information
Yveaux committed Feb 10, 2024
commit fbe73edfc441399f6550fb5302ded10111832c3d
1 change: 0 additions & 1 deletion src/host/usbh.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ bool tuh_rhport_reset_bus(uint8_t rhport, bool active) {
}

void tuh_devtree_get_info(uint8_t dev_addr, tuh_devtree_info_t* devtree_info) {
TU_VERIFY(devtree_info);
hcd_devtree_info_t dt;
hcd_devtree_get_info(dev_addr, &dt)
devtree_info->rhport = dt->rhport;
Expand Down
Loading