Changeset b4b534ac in mainline for uspace/lib/usbhid/src/hidreq.c
- Timestamp:
- 2016-07-22T08:24:47Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f76d2c2
- Parents:
- 5b18137 (diff), 8351f9a4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hidreq.c
r5b18137 rb4b534ac 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.