Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmouse/init.c

    rb59ec8c rfaa44e58  
    3939#include <usb/hid/hid.h>
    4040#include <usb/dev/request.h>
    41 #include <usb/hid/request.h>
    4241#include <errno.h>
    4342
     
    127126       
    128127        /* Set the boot protocol. */
    129         rc = usbhid_req_set_protocol(&dev->ctrl_pipe, dev->interface_no,
    130             USB_HID_PROTOCOL_BOOT);
     128        rc = usb_control_request_set(&dev->ctrl_pipe,
     129            USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
     130            USB_HIDREQ_SET_PROTOCOL, USB_HID_PROTOCOL_BOOT, dev->interface_no,
     131            NULL, 0);
    131132        if (rc != EOK) {
    132133                goto leave;
Note: See TracChangeset for help on using the changeset viewer.