[feat][examples/usb] add USB HS control for descriptor

This commit is contained in:
jzlv 2021-09-26 15:09:27 +08:00
parent 48479d0e20
commit ecb43ef0d0
18 changed files with 55 additions and 40 deletions

View file

@ -128,6 +128,7 @@ USB_DESC_SECTION const uint8_t hid_descriptor[] = {
'0', 0x00, /* wcChar7 */
'0', 0x00, /* wcChar8 */
'0', 0x00, /* wcChar9 */
#ifdef CONFIG_USB_HS
///////////////////////////////////////
/// device qualifier descriptor
///////////////////////////////////////
@ -141,7 +142,7 @@ USB_DESC_SECTION const uint8_t hid_descriptor[] = {
0x40,
0x01,
0x00,
#endif
0x00
};