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

Changeset 78dbf5b in mainline for uspace/lib/usb/src/hidparser.c


Ignore:
Timestamp:
2011-05-07T08:38:40Z (11 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master
Children:
fb295b6
Parents:
6c6a95d2 (diff), 45a2688 (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:

Fixes (parsing), mouse driver improved, generic HID driver improved

File:
1 edited

Legend:

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

    r6c6a95d2 r78dbf5b  
    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.