Changeset 4bfe063 in mainline for uspace/lib/usbhid/src/hidreq.c


Ignore:
Timestamp:
2012-12-16T18:57:09Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddab093
Parents:
395bb79
Message:

usbhid: warnings are not errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidreq.c

    r395bb79 r4bfe063  
    182182        uint16_t value = duration << 8;
    183183       
    184         rc = usb_control_request_set(ctrl_pipe, 
    185             USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE, 
     184        rc = usb_control_request_set(ctrl_pipe,
     185            USB_REQUEST_TYPE_CLASS, USB_REQUEST_RECIPIENT_INTERFACE,
    186186            USB_HIDREQ_SET_IDLE, value, iface_no, NULL, 0);
    187187
    188188        if (rc != EOK) {
    189                 usb_log_warning("Error sending Set Idle request to the device: "
     189                usb_log_warning("Device did not accept Set Idle request: "
    190190                    "%s.\n", str_error(rc));
    191191                return rc;
Note: See TracChangeset for help on using the changeset viewer.