From decd87a456b61534dde6f2072555641054f42685 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Fri, 6 Feb 2026 23:54:59 +0000 Subject: [PATCH] usb: fix CDC-ACM descriptors I should probably turn these into actual structs. --- src/usb/ctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usb/ctrl.c b/src/usb/ctrl.c index 4724c78..766a376 100644 --- a/src/usb/ctrl.c +++ b/src/usb/ctrl.c @@ -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