usb: fix CDC-ACM descriptors
I should probably turn these into actual structs.
This commit is contained in:
@@ -112,7 +112,7 @@ uint8_t config_descriptor[0x6b] = {
|
||||
0x24, // bDescriptorType
|
||||
0x01, // bDescriptorSubtype
|
||||
0x00, // bmCapabilities
|
||||
0x01, // bDataInterface
|
||||
0x02, // bDataInterface
|
||||
|
||||
// ACM descripotor
|
||||
0x04, // bLength
|
||||
@@ -124,8 +124,8 @@ uint8_t config_descriptor[0x6b] = {
|
||||
0x05, // bLength
|
||||
0x24, // bDescriptorType
|
||||
0x06, // bDescriptorSubtype
|
||||
0x00, // bMasterInterface
|
||||
0x01, // bSlaveInterface0
|
||||
0x01, // bMasterInterface
|
||||
0x02, // bSlaveInterface0
|
||||
|
||||
0x07, // bLength
|
||||
0x05, // bDescriptorType
|
||||
|
||||
Reference in New Issue
Block a user