Changeset d1582b50 in mainline for uspace/lib/usbhid/src/hiddescriptor.c
- Timestamp:
- 2020-12-14T20:41:53Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02fe42e
- Parents:
- 1382446
- git-author:
- Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hiddescriptor.c
r1382446 rd1582b50 74 74 75 75 #define USB_HID_INVALID -98 76 /** Unknown tag was founded in report descriptor data */76 /** Unknown tag was founded in report descriptor data */ 77 77 #define USB_HID_UNKNOWN_TAG -99 78 78 … … 245 245 field->item_flags = report_item->item_flags; 246 246 247 /* find the right report list */247 /* find the right report list */ 248 248 usb_hid_report_description_t *report_des; 249 249 report_des = usb_hid_report_find_description(report, … … 352 352 list_initialize(&stack); 353 353 354 /* parser structure initialization */354 /* parser structure initialization */ 355 355 if (usb_hid_report_init(report) != EOK) { 356 356 return EINVAL; 357 357 } 358 358 359 /* report item initialization*/359 /* report item initialization */ 360 360 if (!(report_item = malloc(sizeof(usb_hid_report_item_t)))) { 361 361 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.