Changeset 850fd32 in mainline for uspace/lib/usbdev
- Timestamp:
- 2018-03-11T01:21:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84239b1, f0e825d
- Parents:
- 338d54a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devdrv.c
r338d54a7 r850fd32 115 115 static inline size_t count_pipes(const usb_endpoint_description_t **endpoints) 116 116 { 117 size_t count; 118 for (count = 0; endpoints != NULL && endpoints[count] != NULL; ++count); 117 size_t count = 0; 118 while (endpoints != NULL && endpoints[count] != NULL) 119 ++count; 119 120 return count; 120 121 }
Note:
See TracChangeset
for help on using the changeset viewer.