Changeset df6ded8 in mainline for uspace/lib/usbdev/src/dp.c
- Timestamp:
- 2018-02-28T16:37:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b20da0
- Parents:
- f5e5f73 (diff), b2dca8de (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. - git-author:
- Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
- git-committer:
- Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/dp.c
rf5e5f73 rdf6ded8 62 62 NESTING(CONFIGURATION, INTERFACE), 63 63 NESTING(INTERFACE, ENDPOINT), 64 NESTING(ENDPOINT, SSPEED_EP_COMPANION), 64 65 NESTING(INTERFACE, HUB), 65 66 NESTING(INTERFACE, HID), … … 126 127 * @retval -1 Invalid input. 127 128 */ 128 static int get_descriptor_type(const usb_dp_parser_data_t *data, const uint8_t *start) 129 static int get_descriptor_type(const usb_dp_parser_data_t *data, 130 const uint8_t *start) 129 131 { 130 132 if (start == NULL) { … … 257 259 int parent_type = get_descriptor_type(data, parent); 258 260 int possible_sibling_type = get_descriptor_type(data, possible_sibling); 259 if (is_nested_descriptor_type(parser, possible_sibling_type, parent_type)) { 261 if (is_nested_descriptor_type(parser, 262 possible_sibling_type, parent_type)) { 260 263 return possible_sibling; 261 264 } else {
Note:
See TracChangeset
for help on using the changeset viewer.