Changeset 1432fcf3 in mainline


Ignore:
Timestamp:
2011-05-27T07:55:58Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81d2f6a, 8242dd86
Parents:
d861c22
Message:

bit length of reports fixed

File:
1 edited

Legend:

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

    rd861c22 r1432fcf3  
    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.