Ignore:
Timestamp:
2017-10-25T11:55:15Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b35478
Parents:
c3d926f
Message:

usbhost endpoint: removed target

The reasons for having usb_target_t inside endpoint have been dismissed. Enpoint is not a target of a transaction, so this was just misleading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h

    rc3d926f ra5b3de6  
    5555/** Structure stores additional data needed for communication with EP */
    5656typedef struct usb_transfer_batch {
     57        /** Target for communication */
     58        usb_target_t target;
     59
    5760        /** Endpoint used for communication */
    5861        endpoint_t *ep;
     62
    5963        /** Size reported to be sent */
    6064        size_t expected_size;
     
    96100 */
    97101#define USB_TRANSFER_BATCH_ARGS(batch) \
    98         (batch).ep->target.address, (batch).ep->target.endpoint, \
     102        (batch).target.address, (batch).target.endpoint, \
    99103        usb_str_speed((batch).ep->speed), \
    100104        usb_str_transfer_type_short((batch).ep->transfer_type), \
Note: See TracChangeset for help on using the changeset viewer.