Embedded friendly usb (#1817)

This commit is contained in:
Totoo 2024-01-27 19:33:08 +01:00 committed by GitHub
parent d1901939e1
commit 8c996b5bc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ uint8_t usb_descriptor_configuration_full_speed[] = {
USB_INT_IN_EP_ADDR, // bEndpointAddress USB_INT_IN_EP_ADDR, // bEndpointAddress
0x03, // bmAttributes: BULK 0x03, // bmAttributes: BULK
USB_WORD(16), // wMaxPacketSize USB_WORD(16), // wMaxPacketSize
0xFF, // bInterval: no NAK 0x20, // bInterval: no NAK
9, // bLength 9, // bLength
USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType
@ -203,7 +203,7 @@ uint8_t usb_descriptor_configuration_high_speed[] = {
USB_INT_IN_EP_ADDR, // bEndpointAddress USB_INT_IN_EP_ADDR, // bEndpointAddress
0x03, // bmAttributes: BULK 0x03, // bmAttributes: BULK
USB_WORD(16), // wMaxPacketSize USB_WORD(16), // wMaxPacketSize
0xFF, // bInterval: no NAK 0x20, // bInterval: no NAK
9, // bLength 9, // bLength
USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType