Changes in / [266fcd8:81d2f6a] in mainline


Ignore:
File:
1 edited

Legend:

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

    r266fcd8 r81d2f6a  
    272272                        report_des->type = report_item->type;
    273273                        report_des->report_id = report_item->id;
     274                        if(report_des->report_id != 0) {
     275                                /* set up the bit length by report_id field */
     276                                report_des->bit_length = 8;
     277                        }
     278
    274279                        list_initialize (&report_des->link);
    275280                        list_initialize (&report_des->report_items);
Note: See TracChangeset for help on using the changeset viewer.