Browse Source

revert 2.1 to 2.0, only needed for webusb exmample (BOS needed)

hathach 6 years ago
parent
commit
ff2a7c79f8

+ 1 - 1
examples/device/cdc_msc_hid/src/usb_descriptors.c

@@ -39,7 +39,7 @@ tusb_desc_device_t const desc_device =
 {
     .bLength            = sizeof(tusb_desc_device_t),
     .bDescriptorType    = TUSB_DESC_DEVICE,
-    .bcdUSB             = 0x0210,
+    .bcdUSB             = 0x0200,
 
   #if CFG_TUD_CDC
     // Use Interface Association Descriptor (IAD) for CDC

+ 1 - 1
examples/device/cdc_msc_hid_freertos/src/usb_descriptors.c

@@ -39,7 +39,7 @@ tusb_desc_device_t const desc_device =
 {
     .bLength            = sizeof(tusb_desc_device_t),
     .bDescriptorType    = TUSB_DESC_DEVICE,
-    .bcdUSB             = 0x0210,
+    .bcdUSB             = 0x0200,
 
   #if CFG_TUD_CDC
     // Use Interface Association Descriptor (IAD) for CDC

+ 1 - 1
examples/device/hid_generic_inout/src/usb_descriptors.c

@@ -39,7 +39,7 @@ tusb_desc_device_t const desc_device =
 {
     .bLength            = sizeof(tusb_desc_device_t),
     .bDescriptorType    = TUSB_DESC_DEVICE,
-    .bcdUSB             = 0x0210,
+    .bcdUSB             = 0x0200,
     .bDeviceClass       = 0x00,
     .bDeviceSubClass    = 0x00,
     .bDeviceProtocol    = 0x00,

+ 1 - 1
examples/device/midi_test/src/usb_descriptors.c

@@ -39,7 +39,7 @@ tusb_desc_device_t const desc_device =
 {
     .bLength            = sizeof(tusb_desc_device_t),
     .bDescriptorType    = TUSB_DESC_DEVICE,
-    .bcdUSB             = 0x0210,
+    .bcdUSB             = 0x0200,
     // Use Interface Association Descriptor (IAD) for Audio
     // As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1)
     .bDeviceClass       = TUSB_CLASS_MISC,

+ 1 - 1
examples/device/msc_dual_lun/src/usb_descriptors.c

@@ -39,7 +39,7 @@ tusb_desc_device_t const desc_device =
 {
     .bLength            = sizeof(tusb_desc_device_t),
     .bDescriptorType    = TUSB_DESC_DEVICE,
-    .bcdUSB             = 0x0210,
+    .bcdUSB             = 0x0200,
     .bDeviceClass       = 0x00,
     .bDeviceSubClass    = 0x00,
     .bDeviceProtocol    = 0x00,