From c5fc89e283a0e6424cfc045fbb3b1b9abfbcd372 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 11 Jan 2016 17:00:50 +0100 Subject: ucoo/hal/usb: set unused field to 1 to make OS X happy --- ucoo/hal/usb/usb_desc.stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucoo') diff --git a/ucoo/hal/usb/usb_desc.stm32.c b/ucoo/hal/usb/usb_desc.stm32.c index c8617fd..aecc4da 100644 --- a/ucoo/hal/usb/usb_desc.stm32.c +++ b/ucoo/hal/usb/usb_desc.stm32.c @@ -116,7 +116,7 @@ static const struct { .bDescriptorType = CS_INTERFACE, .bDescriptorSubtype = USB_CDC_TYPE_CALL_MANAGEMENT, .bmCapabilities = 0, - .bDataInterface = 0, + .bDataInterface = 1, }, .acm = { .bFunctionLength = sizeof (struct usb_cdc_acm_descriptor), -- cgit v1.2.3