Changeset 175ad13e in mainline for uspace/lib/usb/src/hidreport.c


Ignore:
Timestamp:
2011-04-15T15:19:34Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
681f24b3
Parents:
9698695
Message:

new report structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hidreport.c

    r9698695 r175ad13e  
    185185
    186186int usb_hid_process_report_descriptor(usb_device_t *dev,
    187     usb_hid_report_parser_t *parser)
     187    usb_hid_report_t *report)
    188188{
    189         if (dev == NULL || parser == NULL) {
     189        if (dev == NULL || report == NULL) {
    190190                usb_log_error("Failed to process Report descriptor: wrong "
    191191                    "parameters given.\n");
     
    210210        assert(report_desc != NULL);
    211211       
    212         rc = usb_hid_parse_report_descriptor(parser, report_desc, report_size);
     212        rc = usb_hid_parse_report_descriptor(report, report_desc, report_size);
    213213        if (rc != EOK) {
    214214                usb_log_error("Problem parsing Report descriptor: %s.\n",
     
    218218        }
    219219       
    220         usb_hid_descriptor_print(parser);
     220        usb_hid_descriptor_print(report);
    221221        free(report_desc);
    222222       
Note: See TracChangeset for help on using the changeset viewer.