Changeset bf0398c in mainline
- Timestamp:
- 2018-01-28T14:38:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 89c7d7d
- Parents:
- 80f7c54
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-28 14:38:12)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-28 14:38:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbdiag/tests.c
r80f7c54 rbf0398c 140 140 } 141 141 142 static const uint32_t test_data = uint32_host2usb(0xDEADBEEF);142 static const uint32_t test_data_src = 0xDEADBEEF; 143 143 144 144 static int data_in_test(usb_pipe_t *pipe, int cycles, size_t size, usbdiag_dur_t *duration) … … 146 146 if (!pipe) 147 147 return EBADMEM; 148 149 const uint32_t test_data = uint32_host2usb(test_data_src); 148 150 149 151 if (size % sizeof(test_data)) … … 218 220 return EBADMEM; 219 221 222 const uint32_t test_data = uint32_host2usb(test_data_src); 223 220 224 if (size % sizeof(test_data)) 221 225 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.