Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2017-11-20T12:56:00Z (5 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial
Children:
d3086873
Parents:
ff14aede
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:55:58)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-20 12:56:00)
Message:

usbhost: endpoints do not have speed on their own

This information was redundant, and the fact it was never set proves it
should be removed because it is source of errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h

    rff14aede r888238e9  
    3939#include <usb/usb.h>
    4040#include <usb/request.h>
     41#include <usb/host/bus.h>
    4142#include <usbhc_iface.h>
    4243
     
    99100#define USB_TRANSFER_BATCH_ARGS(batch) \
    100101        (batch).target.address, (batch).target.endpoint, \
    101         usb_str_speed((batch).ep->speed), \
     102        usb_str_speed((batch).ep->device->speed), \
    102103        usb_str_transfer_type_short((batch).ep->transfer_type), \
    103104        usb_str_direction((batch).ep->direction), \
Note: See TracChangeset for help on using the changeset viewer.