Changeset 944f8fdd in mainline for uspace/lib/usbhost/src/endpoint.c


Ignore:
Timestamp:
2018-01-19T17:38:22Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2833bb4
Parents:
861b5d6
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
Message:

libusbhost: move utility functions to new header utility.h

File:
1 edited

Legend:

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

    r861b5d6 r944f8fdd  
    4343#include <usb/descriptor.h>
    4444#include <usb/host/hcd.h>
     45#include <usb/host/utility.h>
    4546
    4647#include "usb_transfer_batch.h"
     
    284285        if (ep->transfer_type == USB_TRANSFER_CONTROL)
    285286                batch->toggle_reset_mode
    286                         = hcd_get_request_toggle_reset_mode(&batch->setup.packet);
     287                        = hc_get_request_toggle_reset_mode(&batch->setup.packet);
    287288
    288289        const int ret = ops->batch_schedule(batch);
Note: See TracChangeset for help on using the changeset viewer.