Changeset 4bfe063 in mainline for uspace/lib/usbhid/src/hidreq.c
- Timestamp:
- 2012-12-16T18:57:09Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddab093
- Parents:
- 395bb79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hidreq.c
r395bb79 r4bfe063 182 182 uint16_t value = duration << 8; 183 183 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, 186 186 USB_HIDREQ_SET_IDLE, value, iface_no, NULL, 0); 187 187 188 188 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: " 190 190 "%s.\n", str_error(rc)); 191 191 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.