Changeset 8865087 in mainline for uspace/app/usbinfo/info.c
- Timestamp:
- 2011-03-17T23:29:16Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 749f18c5
- Parents:
- a458bc9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/info.c
ra458bc9 r8865087 41 41 #include <usb/request.h> 42 42 #include <usb/classes/classes.h> 43 #include <usb/classes/hid.h> 43 44 #include "usbinfo.h" 44 45 … … 142 143 direction == USB_DIRECTION_IN ? "in" : "out", 143 144 (size_t) descriptor->max_packet_size); 145 } 146 147 static void dump_descriptor_tree_brief_hid(const char *prefix, 148 usb_standard_hid_descriptor_t *descriptor) 149 { 150 printf("%sHID (country %d, %d descriptors)\n", prefix, 151 (int) descriptor->country_code, 152 (int) descriptor->class_desc_count); 144 153 } 145 154 … … 179 188 usb_standard_endpoint_descriptor_t, 180 189 dump_descriptor_tree_brief_endpoint); 190 _BRANCH(USB_DESCTYPE_HID, 191 usb_standard_hid_descriptor_t, 192 dump_descriptor_tree_brief_hid); 181 193 182 194 default:
Note:
See TracChangeset
for help on using the changeset viewer.