Changeset 3bacee1 in mainline for uspace/lib/usbhost/src/endpoint.c
- Timestamp:
- 2018-04-12T16:27:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/endpoint.c
r76d0981d r3bacee1 225 225 } 226 226 227 device_t * 227 device_t *const device = ep->device; 228 228 if (!device) { 229 229 usb_log_warning("Endpoint detached"); … … 243 243 */ 244 244 if (size > ep->max_transfer_size && 245 (ep->transfer_type == USB_TRANSFER_INTERRUPT 246 ||ep->transfer_type == USB_TRANSFER_ISOCHRONOUS)) {245 (ep->transfer_type == USB_TRANSFER_INTERRUPT || 246 ep->transfer_type == USB_TRANSFER_ISOCHRONOUS)) { 247 247 if (req->dir == USB_DIRECTION_OUT) 248 248 return ENOSPC;
Note:
See TracChangeset
for help on using the changeset viewer.