Changeset 175ad13e in mainline for uspace/lib/usb/src/hidreport.c
- Timestamp:
- 2011-04-15T15:19:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 681f24b3
- Parents:
- 9698695
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidreport.c
r9698695 r175ad13e 185 185 186 186 int usb_hid_process_report_descriptor(usb_device_t *dev, 187 usb_hid_report_ parser_t *parser)187 usb_hid_report_t *report) 188 188 { 189 if (dev == NULL || parser== NULL) {189 if (dev == NULL || report == NULL) { 190 190 usb_log_error("Failed to process Report descriptor: wrong " 191 191 "parameters given.\n"); … … 210 210 assert(report_desc != NULL); 211 211 212 rc = usb_hid_parse_report_descriptor( parser, report_desc, report_size);212 rc = usb_hid_parse_report_descriptor(report, report_desc, report_size); 213 213 if (rc != EOK) { 214 214 usb_log_error("Problem parsing Report descriptor: %s.\n", … … 218 218 } 219 219 220 usb_hid_descriptor_print( parser);220 usb_hid_descriptor_print(report); 221 221 free(report_desc); 222 222
Note:
See TracChangeset
for help on using the changeset viewer.