Changes in uspace/lib/usbhid/src/hiddescriptor.c [0dd3e49:ee7e7c93] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hiddescriptor.c
r0dd3e49 ree7e7c93 329 329 usb_hid_report_type_t type) { 330 330 331 if(report == NULL) {332 return NULL;333 }334 335 331 link_t *report_it = report->reports.next; 336 332 usb_hid_report_description_t *report_des = NULL; … … 340 336 usb_hid_report_description_t, link); 341 337 342 // if report id not set, return the first of the type 343 if(((report_des->report_id == report_id) || (report_id == 0)) && 338 if((report_des->report_id == report_id) && 344 339 (report_des->type == type)) { 345 340 return report_des;
Note:
See TracChangeset
for help on using the changeset viewer.