Samples: Remove USB version for speed designations in xusb
authorXiaofan Chen <xiaofanc@gmail.com>
Thu, 14 Jun 2012 11:42:02 +0000 (12:42 +0100)
committerPete Batard <pete@akeo.ie>
Thu, 14 Jun 2012 11:43:26 +0000 (12:43 +0100)
examples/xusb.c
libusb/version_nano.h

index c158727..8e09e05 100644 (file)
@@ -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
index c47019a..5149269 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10530
+#define LIBUSB_NANO 10531