summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2016-01-11 17:00:50 +0100
committerNicolas Schodet2019-10-07 00:44:57 +0200
commitc5fc89e283a0e6424cfc045fbb3b1b9abfbcd372 (patch)
treee2b31b05677b4adf3b7dfa6e42f0e96bf4c183c6
parent313394af2c063e20d3574cfbc1e14dd4ae0d70d0 (diff)
ucoo/hal/usb: set unused field to 1 to make OS X happy
-rw-r--r--ucoo/hal/usb/usb_desc.stm32.c2
1 files changed, 1 insertions, 1 deletions
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),