Changeset b5c92d7d in mainline for uspace/lib/usbdev/src/request.c
- Timestamp:
- 2018-01-19T22:42:46Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 609f3f73
- Parents:
- 4c03793
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 22:42:44)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 22:42:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/request.c
r4c03793 rb5c92d7d 843 843 return EINVAL; 844 844 } 845 return usb_request_clear_endpoint_halt(ctrl_pipe, 846 target_pipe->desc.endpoint_no); 845 846 uint16_t index = target_pipe->desc.endpoint_no; 847 index |= (target_pipe->desc.direction == USB_DIRECTION_IN) << 7; 848 return usb_request_clear_endpoint_halt(ctrl_pipe, index); 847 849 } 848 850
Note:
See TracChangeset
for help on using the changeset viewer.