summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorXiaofan Chen <xiaofanc@gmail.com>2012-06-14 12:42:02 +0100
committerPete Batard <pete@akeo.ie>2012-06-14 12:43:26 +0100
commit5330c3d8ae3abec991d3d837c56e2a230f4fe244 (patch)
tree87cd2fad02b36613c561ca4d8de379c78d558ac7 /examples
parent67df11b691b7cdade54cbc265f9d975d46dcc10c (diff)
downloadlibusb-5330c3d8ae3abec991d3d837c56e2a230f4fe244.tar.gz
Samples: Remove USB version for speed designations in xusb
Diffstat (limited to 'examples')
-rw-r--r--examples/xusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index c158727..8e09e05 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -743,8 +743,8 @@ static int test_device(uint16_t vid, uint16_t pid)
int iface_detached = -1;
#endif
struct libusb_device_descriptor dev_desc;
- const char* speed_name[5] = { "Unknown", "1.5 Mbit/s (USB 1.0 LowSpeed)", "12 Mbit/s (USB 1.0 FullSpeed)",
- "480 Mbit/s (USB 2.0 HighSpeed)", "5000 Mbit/s (USB 3.0 SuperSpeed)"};
+ const char* speed_name[5] = { "Unknown", "1.5 Mbit/s (USB LowSpeed)", "12 Mbit/s (USB FullSpeed)",
+ "480 Mbit/s (USB HighSpeed)", "5000 Mbit/s (USB SuperSpeed)"};
char string[128];
uint8_t string_index[3]; // indexes of the string descriptors
uint8_t endpoint_in = 0, endpoint_out = 0; // default IN and OUT endpoints