Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2011-05-06T08:50:42Z (11 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master
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.