Changeset 81d2f6a in mainline


Ignore:
Timestamp:
2011-05-27T09:27:56Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c427cd
Parents:
266fcd8 (diff), 1432fcf3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fixed getting report byte length.

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.