This commit is contained in:
Lu Hui
2024-03-14 11:52:41 +08:00
parent 00ac8f88f1
commit 7327c88aa2
21 changed files with 448 additions and 109 deletions

View File

@@ -99,7 +99,7 @@ acm_iad_descriptor = {
.bInterfaceCount = 2, // control + data
.bFunctionClass = USB_CLASS_COMM,
.bFunctionSubClass = USB_CDC_SUBCLASS_ACM,
.bFunctionProtocol = USB_CDC_ACM_PROTO_AT_V25TER,
.bFunctionProtocol = 0, // not a modem, so not use protocol
/* .iFunction = DYNAMIC */
};
@@ -111,7 +111,7 @@ static struct usb_interface_descriptor acm_control_interface_desc = {
.bNumEndpoints = 1,
.bInterfaceClass = USB_CLASS_COMM,
.bInterfaceSubClass = USB_CDC_SUBCLASS_ACM,
.bInterfaceProtocol = USB_CDC_ACM_PROTO_AT_V25TER,
.bInterfaceProtocol = 0, // not a modem, so not use protocol
/* .iInterface = DYNAMIC */
};