Ignore:
Timestamp:
2011-05-30T14:06:39Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8357fc9
Parents:
ee7e7c93
Message:

subdrivers matching without specified report_id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hiddescriptor.c

    ree7e7c93 rdcb7d7cd  
    336336                                usb_hid_report_description_t, link);
    337337
    338                 if((report_des->report_id == report_id) &&
     338                // if report id not set, return the first of the type
     339                if(((report_des->report_id == report_id) || (report_id == 0)) &&
    339340                   (report_des->type == type)) {
    340341                        return report_des;
Note: See TracChangeset for help on using the changeset viewer.