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

usb, drivers: Use usb_device_* wrappers.

File:
1 edited

Legend:

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

    rf6b2a76 rc39e9fb  
    315315
    316316        // TODO: how to know if the device supports the request???
    317         usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,
     317        usbhid_req_set_idle(usb_device_get_default_pipe(hid_dev->usb_dev),
    318318            hid_dev->usb_dev->interface_no, IDLE_RATE);
    319319        return EOK;
     
    425425        }
    426426
    427         rc = usbhid_req_set_protocol(&hid_dev->usb_dev->ctrl_pipe,
     427        rc = usbhid_req_set_protocol(
     428            usb_device_get_default_pipe(hid_dev->usb_dev),
    428429            hid_dev->usb_dev->interface_no, USB_HID_PROTOCOL_BOOT);
    429430
Note: See TracChangeset for help on using the changeset viewer.