mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Embedded friendly usb (#1817)
This commit is contained in:
parent
d1901939e1
commit
8c996b5bc6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user