Merge branch 'contrib/github_pr_9001_v4.4' into 'release/v4.4'

usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)

See merge request espressif/esp-idf!18236
This commit is contained in:
Ivan Grokhotkov 2022-05-25 01:56:33 +08:00
commit 0ebd381c16

View File

@ -213,7 +213,9 @@ static void usbh_print_intf_desc(const usb_intf_desc_t *intf_desc)
printf("\tbInterfaceNumber %d\n", intf_desc->bInterfaceNumber);
printf("\tbAlternateSetting %d\n", intf_desc->bAlternateSetting);
printf("\tbNumEndpoints %d\n", intf_desc->bNumEndpoints);
printf("\tbInterfaceClass 0x%x\n", intf_desc->bInterfaceProtocol);
printf("\tbInterfaceClass 0x%x\n", intf_desc->bInterfaceClass);
printf("\tbInterfaceSubClass 0x%x\n", intf_desc->bInterfaceSubClass);
printf("\tbInterfaceProtocol 0x%x\n", intf_desc->bInterfaceProtocol);
printf("\tiInterface %d\n", intf_desc->iInterface);
}