Changeset a9974ef in mainline
- Timestamp:
- 2011-04-05T18:52:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64dbc83
- Parents:
- bda06a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
rbda06a3 ra9974ef 220 220 if(!(new_report_item = malloc(sizeof(usb_hid_report_item_t)))) { 221 221 return ENOMEM; 222 } 222 } 223 223 memcpy(new_report_item,report_item, sizeof(usb_hid_report_item_t)); 224 224 225 /* reset local items */ 225 226 new_report_item->usage_minimum = 0; 226 227 new_report_item->usage_maximum = 0; 228 new_report_item->usage = 0; 229 new_report_item->designator_index = 0; 230 new_report_item->designator_minimum = 0; 231 new_report_item->designator_maximum = 0; 232 new_report_item->string_index = 0; 233 new_report_item->string_minimum = 0; 234 new_report_item->string_maximum = 0; 227 235 228 236 link_initialize(&(new_report_item->link));
Note:
See TracChangeset
for help on using the changeset viewer.