Changeset 129b821f in mainline for uspace/lib/usbhost/src/utility.c
- Timestamp:
- 2018-01-20T12:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 682c9354
- Parents:
- 60d3f35
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-20 12:33:42)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-20 12:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/utility.c
r60d3f35 r129b821f 177 177 * @return Error code 178 178 */ 179 int hc_setup_virtual_root_hub(hc_device_t *hcd )179 int hc_setup_virtual_root_hub(hc_device_t *hcd, usb_speed_t rh_speed) 180 180 { 181 181 int err; … … 183 183 assert(hcd); 184 184 185 device_t *dev = hcd_ddf_fun_create(hcd, USB_SPEED_MAX);185 device_t *dev = hcd_ddf_fun_create(hcd, rh_speed); 186 186 if (!dev) { 187 187 usb_log_error("Failed to create function for the root hub.");
Note:
See TracChangeset
for help on using the changeset viewer.