Changeset a82889e in mainline for uspace/lib/usb/src/host/usb_endpoint_manager.c
- Timestamp:
- 2011-04-07T12:17:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4e18e1, a8a7063, b04967a, f8e8738, fd3940c1
- Parents:
- 41c1f7b (diff), 69df9373 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/host/usb_endpoint_manager.c
r41c1f7b ra82889e 91 91 size_t size, size_t max_packet_size) 92 92 { 93 /* We care about bandwidth only for interrupt and isochronous. */ 94 if ((type != USB_TRANSFER_INTERRUPT) 95 && (type != USB_TRANSFER_ISOCHRONOUS)) { 96 return 0; 97 } 98 93 99 const unsigned packet_count = 94 100 (size + max_packet_size - 1) / max_packet_size;
Note:
See TracChangeset
for help on using the changeset viewer.