Changeset 56257ba in mainline for uspace/lib/usbhost/src/usb_transfer_batch.c
- Timestamp:
- 2018-01-07T01:01:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63431db
- Parents:
- 9efad54
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:41)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb_transfer_batch.c
r9efad54 r56257ba 71 71 } 72 72 73 /** Resolve resetting toggle.74 *75 * @param[in] batch Batch structure to use.76 */77 int usb_transfer_batch_reset_toggle(usb_transfer_batch_t *batch)78 {79 assert(batch);80 81 if (batch->error != EOK || batch->toggle_reset_mode == RESET_NONE)82 return EOK;83 84 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " resets %s",85 batch, USB_TRANSFER_BATCH_ARGS(*batch),86 batch->toggle_reset_mode == RESET_ALL ? "all EPs toggle" : "EP toggle");87 88 return bus_reset_toggle(endpoint_get_bus(batch->ep), batch->target, batch->toggle_reset_mode);89 }90 91 73 /** Destroy the batch. 92 74 *
Note:
See TracChangeset
for help on using the changeset viewer.