Changeset 56e9fb0 in mainline for uspace/lib/usbhost/src/batch.c


Ignore:
Timestamp:
2011-09-14T18:52:40Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
365e29e2
Parents:
8e3d17f
Message:

usb: add support for packing target_t type into uint32_t

File:
1 edited

Legend:

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

    r8e3d17f r56e9fb0  
    136136        if (instance->ep->transfer_type == USB_TRANSFER_CONTROL
    137137            && instance->error == EOK) {
    138                 usb_target_t target =
    139                     {instance->ep->address, instance->ep->endpoint};
     138                const usb_target_t target =
     139                    {{ instance->ep->address, instance->ep->endpoint }};
    140140                reset_ep_if_need(
    141141                    fun_to_hcd(instance->fun), target, instance->setup_buffer);
Note: See TracChangeset for help on using the changeset viewer.