Changeset 0ee999d in mainline for uspace/lib/usbhost/src/endpoint.c


Ignore:
Timestamp:
2013-08-20T12:24:16Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5856b627
Parents:
5dad73d
Message:

libusbhost: Add TT information to usb_enpoint_t structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/endpoint.c

    r5dad73d r0ee999d  
    5050endpoint_t * endpoint_create(usb_address_t address, usb_endpoint_t endpoint,
    5151    usb_direction_t direction, usb_transfer_type_t type, usb_speed_t speed,
    52     size_t max_packet_size, size_t bw)
     52    size_t max_packet_size, size_t bw, usb_address_t tt_address, unsigned tt_p)
    5353{
    5454        endpoint_t *instance = malloc(sizeof(endpoint_t));
     
    6363                instance->toggle = 0;
    6464                instance->active = false;
     65                instance->tt.address = tt_address;
     66                instance->tt.port = tt_p;
    6567                instance->hc_data.data = NULL;
    6668                instance->hc_data.toggle_get = NULL;
Note: See TracChangeset for help on using the changeset viewer.