Changeset 64e3dad in mainline
- Timestamp:
- 2011-12-14T21:50:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 66ee26a
- Parents:
- 441633f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devdrv.c
r441633f r64e3dad 86 86 { 87 87 size_t count; 88 for (count = 0; endpoints && endpoints[count] != NULL; ++count);88 for (count = 0; endpoints != NULL && endpoints[count] != NULL; ++count); 89 89 return count; 90 90 } … … 100 100 { 101 101 assert(dev); 102 103 if (endpoints == NULL) {104 dev->pipes = NULL;105 dev->pipes_count = 0;106 return EOK;107 }108 102 109 103 usb_endpoint_mapping_t *pipes = NULL; … … 324 318 { 325 319 assert(wire != NULL); 326 assert(endpoints != NULL);327 320 assert(config_descr != NULL); 328 321 assert(config_descr_size > 0);
Note:
See TracChangeset
for help on using the changeset viewer.