usb: fix CDC-ACM descriptors

I should probably turn these into actual structs.
This commit is contained in:
Puck Meerburg
2026-02-06 23:54:59 +00:00
parent 57558522d2
commit decd87a456

View File

@@ -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