@@ -639,18 +639,6 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = {
639639 .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_REMOTEWAKEUP ),
640640 .MaxPowerConsumption = USB_CONFIG_POWER_MA (USB_MAX_POWER_CONSUMPTION )
641641 },
642- .Keyboard_Interface_Association = {
643- .Header = {
644- .Size = sizeof (USB_Descriptor_Interface_Association_t ),
645- .Type = DTYPE_InterfaceAssociation
646- },
647- .FirstInterfaceIndex = KEYBOARD_INTERFACE ,
648- .TotalInterfaces = CONSOLE_INTERFACE , // It's the interface after this
649- .Class = HID_CSCP_HIDClass ,
650- .SubClass = HID_CSCP_BootSubclass ,
651- .Protocol = HID_CSCP_KeyboardBootProtocol ,
652- .IADStrIndex = NO_DESCRIPTOR ,
653- },
654642#ifndef KEYBOARD_SHARED_EP
655643 /*
656644 * Keyboard
@@ -1222,6 +1210,18 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = {
12221210 .PollingIntervalMS = USB_POLLING_INTERVAL_MS
12231211 },
12241212#endif
1213+ .Reset_Interface_Association = {
1214+ .Header = {
1215+ .Size = sizeof (USB_Descriptor_Interface_Association_t ),
1216+ .Type = DTYPE_InterfaceAssociation
1217+ },
1218+ .FirstInterfaceIndex = RP2040_RESET_INTERFACE ,
1219+ .TotalInterfaces = 1 ,
1220+ .Class = 0xFF ,
1221+ .SubClass = 0x00 , // RESET_INTERFACE_SUBCLASS
1222+ .Protocol = 0x01 , // RESET_INTERFACE_PROTOCOL
1223+ .IADStrIndex = NO_DESCRIPTOR ,
1224+ },
12251225 .Rp2040_Reset_Interface = {
12261226 .Header = {
12271227 .Size = sizeof (USB_Descriptor_Interface_t ),
0 commit comments