Changeset fa4b12d5 in mainline for uspace/lib/usbhost/src
- Timestamp:
- 2018-01-25T12:20:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d08aa42d
- Parents:
- 296d22fc
- Location:
- uspace/lib/usbhost/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb2_bus.c
r296d22fc rfa4b12d5 130 130 } 131 131 132 if ((err = hc_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, dev ->bus, dev)))132 if ((err = hc_get_ep0_max_packet_size(&ep0_desc.endpoint.max_packet_size, dev))) 133 133 goto err_address; 134 134 -
uspace/lib/usbhost/src/utility.c
r296d22fc rfa4b12d5 75 75 * @return Max packet size for EP 0 (in bytes) 76 76 */ 77 int hc_get_ep0_max_packet_size(uint16_t *mps, bus_t *bus,device_t *dev)77 int hc_get_ep0_max_packet_size(uint16_t *mps, device_t *dev) 78 78 { 79 79 assert(mps);
Note:
See TracChangeset
for help on using the changeset viewer.