Changeset 0815000 in mainline
- Timestamp:
- 2011-08-26T07:14:06Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 07f49ae
- Parents:
- f974519
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/iface.c
rf974519 r0815000 181 181 assert(hcd); 182 182 const size_t size = max_packet_size; 183 usb_speed_t speed = 183 /* Default address is not bound or registered, 184 * thus it does not provide speed info. */ 185 const usb_speed_t speed = (address == 0) ? ep_speed : 184 186 usb_device_keeper_get_speed(&hcd->dev_manager, address); 185 if (speed >= USB_SPEED_MAX) { 186 // Does this happen? 187 speed = ep_speed; 188 } 187 189 188 usb_log_debug("Register endpoint %d:%d %s-%s %s %zuB %ums.\n", 190 189 address, endpoint, usb_str_transfer_type(transfer_type),
Note:
See TracChangeset
for help on using the changeset viewer.