Changeset d861c22 in mainline for uspace/lib/usbhid/src/hidparser.c


Ignore:
Timestamp:
2011-05-27T07:28:46Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1432fcf3, aaa3d82b
Parents:
f3b39b4
Message:

some little changes

File:
1 edited

Legend:

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

    rf3b39b4 rd861c22  
    119119        }
    120120        else {
    121                 if(report_id == 0) {                   
    122                         return ((report_des->bit_length + 7) / 8) ;
    123                 }
    124                 else {
    125                         return 1 + ((report_des->bit_length + 7) / 8);
    126                 }
     121                return ((report_des->bit_length + 7) / 8) ;
    127122        }
    128123}
Note: See TracChangeset for help on using the changeset viewer.