summaryrefslogtreecommitdiff
path: root/at91lib/usb/device/ccid
diff options
context:
space:
mode:
Diffstat (limited to 'at91lib/usb/device/ccid')
-rw-r--r--at91lib/usb/device/ccid/cciddriver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/at91lib/usb/device/ccid/cciddriver.c b/at91lib/usb/device/ccid/cciddriver.c
index 495a897..989345e 100644
--- a/at91lib/usb/device/ccid/cciddriver.c
+++ b/at91lib/usb/device/ccid/cciddriver.c
@@ -90,9 +90,7 @@ typedef struct {
USBEndpointDescriptor bulkIn;
/// Interrupt OUT endpoint descriptor
USBEndpointDescriptor interruptIn;
-#ifdef BOARD_USB_DFU
- USBInterfaceDescriptor dfu_interface[DFU_NUM_IF];
-#endif
+ DFU_IF_DESCRIPTORS_STRUCT
} __attribute__ ((packed)) CCIDDriverConfigurationDescriptors;
//------------------------------------------------------------------------------
personal git repositories of Harald Welte. Your mileage may vary