summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-09-09 22:47:49 +0800
committersakumisu <[email protected]>2024-09-09 22:48:18 +0800
commit7ec7891fe437b0d0d2062994996ff3430ef86086 (patch)
treefb4fb38bdb70f007e469b6fdf04ec94563e3db6c
parentda391c6cf97ddf78be5bed323ce186b26b9c66c3 (diff)
update(demo): set bNumConfigurations with zero in Device Qualifier Descriptor, we do not request other speed desc as default
-rw-r--r--demo/adb/usbd_adb_template.c2
-rw-r--r--demo/audio_v1_mic_multichan_template.c2
-rw-r--r--demo/audio_v1_mic_speaker_multichan_template.c2
-rw-r--r--demo/audio_v2_mic_multichan_template.c2
-rw-r--r--demo/audio_v2_mic_speaker_multichan_template.c2
-rw-r--r--demo/audio_v2_speaker_multichan_template.c2
-rw-r--r--demo/bootuf2/msc_bootuf2_template.c2
-rw-r--r--demo/cdc_acm_hid_msc_template.c2
-rw-r--r--demo/cdc_acm_msc_template.c4
-rw-r--r--demo/cdc_acm_multi_template.c2
-rw-r--r--demo/cdc_acm_template.c2
-rw-r--r--demo/cdc_ecm_template.c2
-rw-r--r--demo/cdc_rndis_template.c2
-rw-r--r--demo/dfu_with_st_tool_template.c2
-rw-r--r--demo/hid_custom_inout_template.c2
-rw-r--r--demo/hid_keyboard_template.c2
-rw-r--r--demo/hid_mouse_template.c2
-rw-r--r--demo/hid_remote_wakeup_template.c2
-rw-r--r--demo/midi_template.c2
-rw-r--r--demo/msc_ram_template.c2
-rw-r--r--demo/msc_storage_template.c2
-rw-r--r--demo/video_audiov1_hid_template.c2
-rw-r--r--demo/video_static_h264_template.c2
-rw-r--r--demo/video_static_mjpeg_template.c2
-rw-r--r--demo/video_static_yuyv_template.c2
-rw-r--r--demo/webusb_hid_template.c2
-rw-r--r--demo/winusb1.0_template.c2
-rw-r--r--demo/winusb2.0_cdc_template.c2
-rw-r--r--demo/winusb2.0_hid_template.c2
29 files changed, 30 insertions, 30 deletions
diff --git a/demo/adb/usbd_adb_template.c b/demo/adb/usbd_adb_template.c
index 0c367d8a..2090dae2 100644
--- a/demo/adb/usbd_adb_template.c
+++ b/demo/adb/usbd_adb_template.c
@@ -175,7 +175,7 @@ static const uint8_t adb_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/audio_v1_mic_multichan_template.c b/demo/audio_v1_mic_multichan_template.c
index b0d631e2..56684e46 100644
--- a/demo/audio_v1_mic_multichan_template.c
+++ b/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
diff --git a/demo/audio_v1_mic_speaker_multichan_template.c b/demo/audio_v1_mic_speaker_multichan_template.c
index 6275de1c..4beccc6b 100644
--- a/demo/audio_v1_mic_speaker_multichan_template.c
+++ b/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
diff --git a/demo/audio_v2_mic_multichan_template.c b/demo/audio_v2_mic_multichan_template.c
index 69fff0c5..c00fffa9 100644
--- a/demo/audio_v2_mic_multichan_template.c
+++ b/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
diff --git a/demo/audio_v2_mic_speaker_multichan_template.c b/demo/audio_v2_mic_speaker_multichan_template.c
index 9bf4c2c5..0aebe575 100644
--- a/demo/audio_v2_mic_speaker_multichan_template.c
+++ b/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
diff --git a/demo/audio_v2_speaker_multichan_template.c b/demo/audio_v2_speaker_multichan_template.c
index 928aaaf6..0abb677a 100644
--- a/demo/audio_v2_speaker_multichan_template.c
+++ b/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
diff --git a/demo/bootuf2/msc_bootuf2_template.c b/demo/bootuf2/msc_bootuf2_template.c
index 7702e48f..fbada2db 100644
--- a/demo/bootuf2/msc_bootuf2_template.c
+++ b/demo/bootuf2/msc_bootuf2_template.c
@@ -95,7 +95,7 @@ const uint8_t msc_bootuf2_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/cdc_acm_hid_msc_template.c b/demo/cdc_acm_hid_msc_template.c
index e64a0a52..32bd9109 100644
--- a/demo/cdc_acm_hid_msc_template.c
+++ b/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
diff --git a/demo/cdc_acm_msc_template.c b/demo/cdc_acm_msc_template.c
index 9b53aa8b..a5ad4048 100644
--- a/demo/cdc_acm_msc_template.c
+++ b/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
diff --git a/demo/cdc_acm_multi_template.c b/demo/cdc_acm_multi_template.c
index 3d9dabf4..13f67f4b 100644
--- a/demo/cdc_acm_multi_template.c
+++ b/demo/cdc_acm_multi_template.c
@@ -113,7 +113,7 @@ static const uint8_t cdc_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/cdc_acm_template.c b/demo/cdc_acm_template.c
index 402f9346..a13d96a4 100644
--- a/demo/cdc_acm_template.c
+++ b/demo/cdc_acm_template.c
@@ -98,7 +98,7 @@ static const uint8_t cdc_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/cdc_ecm_template.c b/demo/cdc_ecm_template.c
index 37ad1ea0..1d70aaa5 100644
--- a/demo/cdc_ecm_template.c
+++ b/demo/cdc_ecm_template.c
@@ -124,7 +124,7 @@ static const uint8_t cdc_ecm_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/cdc_rndis_template.c b/demo/cdc_rndis_template.c
index cd20842a..31078836 100644
--- a/demo/cdc_rndis_template.c
+++ b/demo/cdc_rndis_template.c
@@ -100,7 +100,7 @@ static const uint8_t cdc_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/dfu_with_st_tool_template.c b/demo/dfu_with_st_tool_template.c
index aaad7681..cd3ed53d 100644
--- a/demo/dfu_with_st_tool_template.c
+++ b/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
diff --git a/demo/hid_custom_inout_template.c b/demo/hid_custom_inout_template.c
index 1ef5d547..e5874c76 100644
--- a/demo/hid_custom_inout_template.c
+++ b/demo/hid_custom_inout_template.c
@@ -146,7 +146,7 @@ static const uint8_t hid_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/hid_keyboard_template.c b/demo/hid_keyboard_template.c
index ace3fed0..7527f396 100644
--- a/demo/hid_keyboard_template.c
+++ b/demo/hid_keyboard_template.c
@@ -122,7 +122,7 @@ static const uint8_t hid_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/hid_mouse_template.c b/demo/hid_mouse_template.c
index 6b2e690e..e6d24d7c 100644
--- a/demo/hid_mouse_template.c
+++ b/demo/hid_mouse_template.c
@@ -126,7 +126,7 @@ const uint8_t hid_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/hid_remote_wakeup_template.c b/demo/hid_remote_wakeup_template.c
index 6ce67a49..b528c4a1 100644
--- a/demo/hid_remote_wakeup_template.c
+++ b/demo/hid_remote_wakeup_template.c
@@ -126,7 +126,7 @@ const uint8_t hid_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/midi_template.c b/demo/midi_template.c
index 766d2952..aa3b2ad7 100644
--- a/demo/midi_template.c
+++ b/demo/midi_template.c
@@ -145,7 +145,7 @@ const uint8_t midi_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/msc_ram_template.c b/demo/msc_ram_template.c
index cd38bdfb..90214834 100644
--- a/demo/msc_ram_template.c
+++ b/demo/msc_ram_template.c
@@ -94,7 +94,7 @@ const uint8_t msc_ram_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/msc_storage_template.c b/demo/msc_storage_template.c
index 73bc4d45..047bad8e 100644
--- a/demo/msc_storage_template.c
+++ b/demo/msc_storage_template.c
@@ -97,7 +97,7 @@ const uint8_t msc_storage_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/video_audiov1_hid_template.c b/demo/video_audiov1_hid_template.c
index 87906ee7..85a5146d 100644
--- a/demo/video_audiov1_hid_template.c
+++ b/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
diff --git a/demo/video_static_h264_template.c b/demo/video_static_h264_template.c
index e9d5fe84..376068ed 100644
--- a/demo/video_static_h264_template.c
+++ b/demo/video_static_h264_template.c
@@ -129,7 +129,7 @@ const uint8_t video_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/video_static_mjpeg_template.c b/demo/video_static_mjpeg_template.c
index c167c8a2..edb5eb79 100644
--- a/demo/video_static_mjpeg_template.c
+++ b/demo/video_static_mjpeg_template.c
@@ -129,7 +129,7 @@ const uint8_t video_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/video_static_yuyv_template.c b/demo/video_static_yuyv_template.c
index 0ee736a9..f90344d1 100644
--- a/demo/video_static_yuyv_template.c
+++ b/demo/video_static_yuyv_template.c
@@ -131,7 +131,7 @@ const uint8_t video_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/webusb_hid_template.c b/demo/webusb_hid_template.c
index 142a195c..04ec1dd2 100644
--- a/demo/webusb_hid_template.c
+++ b/demo/webusb_hid_template.c
@@ -254,7 +254,7 @@ static const uint8_t webusb_hid_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/winusb1.0_template.c b/demo/winusb1.0_template.c
index fddf8be1..1eb390b9 100644
--- a/demo/winusb1.0_template.c
+++ b/demo/winusb1.0_template.c
@@ -326,7 +326,7 @@ const uint8_t winusb_descriptor[] = {
0x02,
0x01,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
0x00
diff --git a/demo/winusb2.0_cdc_template.c b/demo/winusb2.0_cdc_template.c
index 811f6309..493668e5 100644
--- a/demo/winusb2.0_cdc_template.c
+++ b/demo/winusb2.0_cdc_template.c
@@ -219,7 +219,7 @@ const uint8_t winusbv2_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
/* End */
diff --git a/demo/winusb2.0_hid_template.c b/demo/winusb2.0_hid_template.c
index c33cfa76..a209dbd5 100644
--- a/demo/winusb2.0_hid_template.c
+++ b/demo/winusb2.0_hid_template.c
@@ -255,7 +255,7 @@ const uint8_t winusbv2_descriptor[] = {
0x00,
0x00,
0x40,
- 0x01,
+ 0x00,
0x00,
#endif
/* End */