Changeset 0ee999d in mainline for uspace/lib/usbhost/src/hcd.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/hcd.c

    r5dad73d r0ee999d  
    130130
    131131int hcd_add_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir,
    132     usb_transfer_type_t type, size_t max_packet_size, size_t size)
     132    usb_transfer_type_t type, size_t max_packet_size, size_t size,
     133    usb_address_t tt_address, unsigned tt_port)
    133134{
    134135        assert(hcd);
    135136        return usb_endpoint_manager_add_ep(&hcd->ep_manager, target.address,
    136137            target.endpoint, dir, type, max_packet_size, size, register_helper,
    137             hcd);
     138            hcd, tt_address, tt_port);
    138139}
    139140
Note: See TracChangeset for help on using the changeset viewer.