mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 22:17:46 +00:00
Embedded friendly usb (#1817)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user