Ignore:
Timestamp:
2013-01-26T18:13:25Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b208b3b
Parents:
ad97131
Message:

libusbdev: Interface number and alternate interfaces wrappers.

File:
1 edited

Legend:

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

    rad97131 r8e10ef4  
    272272        rc = usbhid_req_set_report(
    273273            usb_device_get_default_pipe(hid_dev->usb_dev),
    274             hid_dev->usb_dev->interface_no, USB_HID_REPORT_TYPE_OUTPUT,
     274            usb_device_get_iface_number(hid_dev->usb_dev),
     275            USB_HID_REPORT_TYPE_OUTPUT,
    275276            kbd_dev->output_buffer, kbd_dev->output_size);
    276277        if (rc != EOK) {
     
    583584
    584585        usbhid_req_set_idle(usb_device_get_default_pipe(hid_dev->usb_dev),
    585             hid_dev->usb_dev->interface_no, IDLE_RATE);
     586            usb_device_get_iface_number(hid_dev->usb_dev), IDLE_RATE);
    586587
    587588
     
    789790        rc = usbhid_req_set_protocol(
    790791            usb_device_get_default_pipe(hid_dev->usb_dev),
    791             hid_dev->usb_dev->interface_no, USB_HID_PROTOCOL_BOOT);
     792            usb_device_get_iface_number(hid_dev->usb_dev),
     793            USB_HID_PROTOCOL_BOOT);
    792794
    793795        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.