Changeset f567bcf in mainline for uspace/lib/usb/src/host/endpoint.c
- Timestamp:
- 2011-04-06T22:02:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4ca18ae
- Parents:
- 8dc762e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/host/endpoint.c
r8dc762e0 rf567bcf 35 35 36 36 #include <errno.h> 37 38 37 #include <usb/host/endpoint.h> 39 38 … … 57 56 } 58 57 /*----------------------------------------------------------------------------*/ 58 int endpoint_toggle_get(endpoint_t *instance) 59 { 60 assert(instance); 61 return (int)instance->toggle; 62 } 63 /*----------------------------------------------------------------------------*/ 64 void endpoint_toggle_set(endpoint_t *instance, int toggle) 65 { 66 assert(instance); 67 assert(toggle == 0 || toggle == 1); 68 instance->toggle = toggle; 69 } 70 /*----------------------------------------------------------------------------*/ 59 71 void endpoint_toggle_reset(link_t *ep) 60 72 {
Note:
See TracChangeset
for help on using the changeset viewer.