Changeset df8f3fa in mainline for uspace/lib/usbhost/src/batch.c
- Timestamp:
- 2011-08-24T13:32:47Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5fe0a69
- Parents:
- 31bc40e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/batch.c
r31bc40e rdf8f3fa 38 38 #include <usb/debug.h> 39 39 #include <usb/host/batch.h> 40 #include <usb/host/hcd.h> 40 41 41 42 void usb_transfer_batch_call_in(usb_transfer_batch_t *instance); … … 150 151 str_error(instance->error)); 151 152 153 if (instance->ep->transfer_type == USB_TRANSFER_CONTROL 154 && instance->error == EOK) { 155 usb_target_t target = 156 {instance->ep->address, instance->ep->endpoint}; 157 reset_ep_if_need( 158 fun_to_hcd(instance->fun), target, instance->setup_buffer); 159 } 160 152 161 instance->callback_out(instance->fun, 153 162 instance->error, instance->arg);
Note:
See TracChangeset
for help on using the changeset viewer.