summaryrefslogtreecommitdiff
path: root/at91lib
diff options
context:
space:
mode:
Diffstat (limited to 'at91lib')
-rw-r--r--at91lib/usb/device/ccid/cciddriver.c6
-rw-r--r--at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c6
-rw-r--r--at91lib/usb/device/composite/COMPOSITEDDriverDescriptors.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/at91lib/usb/device/ccid/cciddriver.c b/at91lib/usb/device/ccid/cciddriver.c
index 3db9065..5a44d02 100644
--- a/at91lib/usb/device/ccid/cciddriver.c
+++ b/at91lib/usb/device/ccid/cciddriver.c
@@ -607,11 +607,11 @@ const USBDDriverDescriptors ccidDriverDescriptors = {
{ (USBConfigurationDescriptor *) &sOtherSpeedConfigurationHS },
#else
0, // No qualifier descriptor FS
- 0, // No other-speed configuration FS
+ { 0 }, // No other-speed configuration FS
0, // No device descriptor HS
- 0, // No configuration HS
+ { 0 }, // No configuration HS
0, // No qualifier descriptor HS
- 0, // No other-speed configuration HS
+ { 0 }, // No other-speed configuration HS
#endif
stringDescriptors,
4+DFU_NUM_STRINGS // Four string descriptors in array
diff --git a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
index dd3f38e..7df769e 100644
--- a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
+++ b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
@@ -618,11 +618,11 @@ USBDDriverDescriptors cdcdSerialDriverDescriptors = {
{ (USBConfigurationDescriptor *) &(otherSpeedDescriptorsHS) },
#else
0, // No full-speed device qualifier descriptor
- 0, // No full-speed other speed configuration
+ { 0 }, // No full-speed other speed configuration
0, // No high-speed device descriptor
- 0, // No high-speed configuration descriptor
+ { 0 }, // No high-speed configuration descriptor
0, // No high-speed device qualifier descriptor
- 0, // No high-speed other speed configuration descriptor
+ { 0 }, // No high-speed other speed configuration descriptor
#endif
stringDescriptors,
diff --git a/at91lib/usb/device/composite/COMPOSITEDDriverDescriptors.c b/at91lib/usb/device/composite/COMPOSITEDDriverDescriptors.c
index 3229385..50a3cdf 100644
--- a/at91lib/usb/device/composite/COMPOSITEDDriverDescriptors.c
+++ b/at91lib/usb/device/composite/COMPOSITEDDriverDescriptors.c
@@ -893,7 +893,7 @@ const USBDDriverDescriptors compositedDriverDescriptors = {
&qualifierDescriptor,
{ (const USBConfigurationDescriptor *) &configurationDescriptors },
#else
- 0, 0, 0, 0, 0, 0,
+ 0, { 0 }, 0, { 0 }, 0, { 0 },
#endif
stringDescriptors,
4 // Number of string descriptors
personal git repositories of Harald Welte. Your mileage may vary