diff options
Diffstat (limited to 'chip/stm32/usb_console.c')
-rw-r--r-- | chip/stm32/usb_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/usb_console.c b/chip/stm32/usb_console.c index ab7244da9f..81121dfcc7 100644 --- a/chip/stm32/usb_console.c +++ b/chip/stm32/usb_console.c @@ -37,8 +37,8 @@ const struct usb_interface_descriptor USB_IFACE_DESC(USB_IFACE_CONSOLE) = { .bAlternateSetting = 0, .bNumEndpoints = 2, .bInterfaceClass = USB_CLASS_VENDOR_SPEC, - .bInterfaceSubClass = 0, - .bInterfaceProtocol = 0, + .bInterfaceSubClass = USB_SUBCLASS_GOOGLE_SERIAL, + .bInterfaceProtocol = USB_PROTOCOL_GOOGLE_SERIAL, .iInterface = 0, }; const struct usb_endpoint_descriptor USB_EP_DESC(USB_IFACE_CONSOLE, 0) = { |