Changeset 3f03199 in mainline for uspace/app/usbinfo
- Timestamp:
- 2013-09-15T06:33:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9348862
- Parents:
- dd7078c (diff), 1c0cef0 (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. - Location:
- uspace/app/usbinfo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/dump.c
rdd7078c r3f03199 103 103 void dump_match_ids(match_id_list_t *matches, const char *line_prefix) 104 104 { 105 list_foreach(matches->ids, link) { 106 match_id_t *match = list_get_instance(link, match_id_t, link); 107 105 list_foreach(matches->ids, link, match_id_t, match) { 108 106 printf("%s%3d %s\n", line_prefix, match->score, match->id); 109 107 } -
uspace/app/usbinfo/hid.c
rdd7078c r3f03199 101 101 printf("%sParsed HID report descriptor for interface %d\n", 102 102 get_indent(0), iface_no); 103 list_foreach(report->reports, report_it) { 104 usb_hid_report_description_t *description = list_get_instance( 105 report_it, usb_hid_report_description_t, reports_link); 103 list_foreach(report->reports, reports_link, 104 usb_hid_report_description_t, description) { 106 105 printf("%sReport %d (type %d)\n", get_indent(1), 107 106 (int) description->report_id, 108 107 (int) description->type); 109 list_foreach(description->report_items, item_it) { 110 usb_hid_report_field_t *field = list_get_instance( 111 item_it, usb_hid_report_field_t, ritems_link); 108 list_foreach(description->report_items, ritems_link, 109 usb_hid_report_field_t, field) { 112 110 printf("%sUsage page = 0x%04x Usage = 0x%04x\n", 113 111 get_indent(2),
Note:
See TracChangeset
for help on using the changeset viewer.
