Changeset 3b5d5b9d in mainline for uspace/lib/usb/src/hidparser.c


Ignore:
Timestamp:
2011-05-06T08:50:42Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
166c4752, 22ded10
Parents:
acdbd780
Message:

#209 - correct usage paths for decomposed items, bug fix

File:
1 edited

Legend:

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

    racdbd780 r3b5d5b9d  
    405405                                }
    406406
    407                                 size_t shift = offset%8;
     407                                size_t shift = 8 - offset%8 - length;
    408408
    409409                                value = value << shift;                                                 
Note: See TracChangeset for help on using the changeset viewer.