summaryrefslogtreecommitdiff
path: root/at91lib/usb/device/cdc-serial
diff options
context:
space:
mode:
Diffstat (limited to 'at91lib/usb/device/cdc-serial')
-rw-r--r--at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
index 349380c..dd3f38e 100644
--- a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
+++ b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
@@ -608,14 +608,14 @@ const unsigned char *stringDescriptors[] = {
USBDDriverDescriptors cdcdSerialDriverDescriptors = {
&deviceDescriptor,
- (USBConfigurationDescriptor *) &(configurationDescriptors),
+ { (USBConfigurationDescriptor *) &(configurationDescriptors) },
#ifdef BOARD_USB_UDPHS
&qualifierDescriptor,
- (USBConfigurationDescriptor *) &(otherSpeedDescriptorsFS),
+ { (USBConfigurationDescriptor *) &(otherSpeedDescriptorsFS) },
&deviceDescriptor,
- (USBConfigurationDescriptor *) &(configurationDescriptorsHS),
+ { (USBConfigurationDescriptor *) &(configurationDescriptorsHS) },
&qualifierDescriptor,
- (USBConfigurationDescriptor *) &(otherSpeedDescriptorsHS),
+ { (USBConfigurationDescriptor *) &(otherSpeedDescriptorsHS) },
#else
0, // No full-speed device qualifier descriptor
0, // No full-speed other speed configuration
personal git repositories of Harald Welte. Your mileage may vary