Changeset e2dfa86 in mainline for uspace/drv/bus/usb/usbhid/usbhid.c


Ignore:
Timestamp:
2013-01-27T13:54:40Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0eb2a0f
Parents:
06f9a9c9
Message:

usb_device: Change API to allow direct(RO) access to descriptors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/usbhid.c

    r06f9a9c9 re2dfa86  
    120120        assert(mapping);
    121121        const usb_standard_device_descriptor_t *d =
    122             usb_device_get_device_descriptor(hid_dev->usb_dev);
     122            &usb_device_descriptors(hid_dev->usb_dev)->device;
    123123
    124124        return (d->vendor_id == mapping->vendor_id)
Note: See TracChangeset for help on using the changeset viewer.