Changeset 1affef2f in mainline for uspace/lib/usbhost/src/usb_transfer_batch.c
- Timestamp:
- 2012-12-22T23:20:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c4663e
- Parents:
- a6a9910
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb_transfer_batch.c
ra6a9910 r1affef2f 125 125 /* NOTE: Only one of these pointers should be set. */ 126 126 if (instance->callback_out) { 127 /* Check for commands that reset toggle bit */128 if (instance->ep->transfer_type == USB_TRANSFER_CONTROL129 && error == EOK) {130 const usb_target_t target =131 {{ instance->ep->address, instance->ep->endpoint }};132 reset_ep_if_need(fun_to_hcd(instance->fun), target,133 instance->setup_buffer);134 }135 127 instance->callback_out(error, instance->arg); 136 128 }
Note:
See TracChangeset
for help on using the changeset viewer.