Changeset d42ba37 in mainline
- Timestamp:
- 2017-11-22T13:54:05Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81ee1009
- Parents:
- 820d9bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb_transfer_batch.c
r820d9bc rd42ba37 55 55 batch = ep->bus->ops.create_batch(ep->bus, ep); 56 56 else 57 batch = malloc(sizeof(usb_transfer_batch_t));57 batch = calloc(1, sizeof(usb_transfer_batch_t)); 58 58 59 59 return batch; … … 64 64 void usb_transfer_batch_init(usb_transfer_batch_t *batch, endpoint_t *ep) 65 65 { 66 memset(batch, 0, sizeof(*batch));67 66 batch->ep = ep; 68 67 }
Note:
See TracChangeset
for help on using the changeset viewer.