Changeset 56e9fb0 in mainline for uspace/drv/bus/usb/uhci/uhci_batch.c


Ignore:
Timestamp:
2011-09-14T18:52:40Z (13 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/drv/bus/usb/uhci/uhci_batch.c

    r8e3d17f r56e9fb0  
    229229            uhci_batch->usb_batch->ep->speed == USB_SPEED_LOW;
    230230        const size_t mps = uhci_batch->usb_batch->ep->max_packet_size;
    231         const usb_target_t target = {
     231        const usb_target_t target = {{
    232232            uhci_batch->usb_batch->ep->address,
    233             uhci_batch->usb_batch->ep->endpoint };
     233            uhci_batch->usb_batch->ep->endpoint }};
    234234
    235235        int toggle = endpoint_toggle_get(uhci_batch->usb_batch->ep);
     
    289289            uhci_batch->usb_batch->ep->speed == USB_SPEED_LOW;
    290290        const size_t mps = uhci_batch->usb_batch->ep->max_packet_size;
    291         const usb_target_t target = {
     291        const usb_target_t target = {{
    292292            uhci_batch->usb_batch->ep->address,
    293             uhci_batch->usb_batch->ep->endpoint };
     293            uhci_batch->usb_batch->ep->endpoint }};
    294294
    295295        /* setup stage */
Note: See TracChangeset for help on using the changeset viewer.