Explorar o código

update(demo): set bNumConfigurations with zero in Device Qualifier Descriptor, we do not request other speed desc as default

sakumisu hai 1 ano
pai
achega
7ec7891fe4

+ 1 - 1
demo/adb/usbd_adb_template.c

@@ -175,7 +175,7 @@ static const uint8_t adb_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/audio_v1_mic_multichan_template.c

@@ -144,7 +144,7 @@ const uint8_t audio_v1_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/audio_v1_mic_speaker_multichan_template.c

@@ -139,7 +139,7 @@ const uint8_t audio_v1_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/audio_v2_mic_multichan_template.c

@@ -149,7 +149,7 @@ const uint8_t audio_v2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/audio_v2_mic_speaker_multichan_template.c

@@ -196,7 +196,7 @@ uint8_t audio_v2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/audio_v2_speaker_multichan_template.c

@@ -149,7 +149,7 @@ const uint8_t audio_v2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/bootuf2/msc_bootuf2_template.c

@@ -95,7 +95,7 @@ const uint8_t msc_bootuf2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/cdc_acm_hid_msc_template.c

@@ -147,7 +147,7 @@ const uint8_t cdc_acm_hid_msc_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 2 - 2
demo/cdc_acm_msc_template.c

@@ -58,7 +58,7 @@ static const uint8_t device_quality_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 };
 
@@ -173,7 +173,7 @@ static const uint8_t cdc_msc_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/cdc_acm_multi_template.c

@@ -113,7 +113,7 @@ static const uint8_t cdc_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/cdc_acm_template.c

@@ -98,7 +98,7 @@ static const uint8_t cdc_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/cdc_ecm_template.c

@@ -124,7 +124,7 @@ static const uint8_t cdc_ecm_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/cdc_rndis_template.c

@@ -100,7 +100,7 @@ static const uint8_t cdc_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/dfu_with_st_tool_template.c

@@ -136,7 +136,7 @@ const uint8_t dfu_flash_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/hid_custom_inout_template.c

@@ -146,7 +146,7 @@ static const uint8_t hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/hid_keyboard_template.c

@@ -122,7 +122,7 @@ static const uint8_t hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/hid_mouse_template.c

@@ -126,7 +126,7 @@ const uint8_t hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/hid_remote_wakeup_template.c

@@ -126,7 +126,7 @@ const uint8_t hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/midi_template.c

@@ -145,7 +145,7 @@ const uint8_t midi_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/msc_ram_template.c

@@ -94,7 +94,7 @@ const uint8_t msc_ram_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/msc_storage_template.c

@@ -97,7 +97,7 @@ const uint8_t msc_storage_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/video_audiov1_hid_template.c

@@ -224,7 +224,7 @@ const uint8_t video_audio_hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/video_static_h264_template.c

@@ -129,7 +129,7 @@ const uint8_t video_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/video_static_mjpeg_template.c

@@ -129,7 +129,7 @@ const uint8_t video_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/video_static_yuyv_template.c

@@ -131,7 +131,7 @@ const uint8_t video_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/webusb_hid_template.c

@@ -254,7 +254,7 @@ static const uint8_t webusb_hid_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/winusb1.0_template.c

@@ -326,7 +326,7 @@ const uint8_t winusb_descriptor[] = {
     0x02,
     0x01,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     0x00

+ 1 - 1
demo/winusb2.0_cdc_template.c

@@ -219,7 +219,7 @@ const uint8_t winusbv2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     /* End */

+ 1 - 1
demo/winusb2.0_hid_template.c

@@ -255,7 +255,7 @@ const uint8_t winusbv2_descriptor[] = {
     0x00,
     0x00,
     0x40,
-    0x01,
+    0x00,
     0x00,
 #endif
     /* End */