Changeset d861c22 in mainline
- Timestamp:
- 2011-05-27T07:28:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1432fcf3, aaa3d82b
- Parents:
- f3b39b4
- Location:
- uspace/lib/usbhid/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hiddescriptor.c
rf3b39b4 rd861c22 944 944 usb_log_debug("\tType: %d\n", report_des->type); 945 945 usb_log_debug("\tLength: %zu\n", report_des->bit_length); 946 usb_log_debug("\tB Size: %zu\n", 947 usb_hid_report_byte_size(report, 948 report_des->report_id, 949 report_des->type)); 946 950 usb_log_debug("\tItems: %zu\n", report_des->item_length); 947 951 -
uspace/lib/usbhid/src/hidparser.c
rf3b39b4 rd861c22 119 119 } 120 120 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) ; 127 122 } 128 123 }
Note:
See TracChangeset
for help on using the changeset viewer.