Changeset 3bacee1 in mainline for uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h
- Timestamp:
- 2018-04-12T16:27:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h
r76d0981d r3bacee1 129 129 const size_t act_size = td_act_size(instance); 130 130 const size_t max_size = 131 ((instance->device >> TD_DEVICE_MAXLEN_POS) + 1) 132 &TD_DEVICE_MAXLEN_MASK;131 ((instance->device >> TD_DEVICE_MAXLEN_POS) + 1) & 132 TD_DEVICE_MAXLEN_MASK; 133 133 return 134 134 (instance->status | TD_STATUS_SPD_FLAG) && act_size < max_size;
Note:
See TracChangeset
for help on using the changeset viewer.