summaryrefslogtreecommitdiff
path: root/at91lib/usb
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-31 20:12:07 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-31 20:12:07 +0200
commit29745a4febe20b8e0f229e248197bb1faeec4d0c (patch)
tree997cc445ba20389e510958041962a4ceae2c6355 /at91lib/usb
parent88269a047ca354c186a7d822c8aac00086dba228 (diff)
at91lib CDC: Re-enable DFU string descriptors
Diffstat (limited to 'at91lib/usb')
-rw-r--r--at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
index 7df769e..8976e41 100644
--- a/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
+++ b/at91lib/usb/device/cdc-serial/CDCDSerialDriverDescriptors.c
@@ -222,7 +222,7 @@ const CDCDSerialDriverConfigurationDescriptors configurationDescriptors = {
USBGenericDescriptor_INTERFACE,
1, // This is interface #1
0, // This is alternate setting #0 for this interface
- 2+DFU_NUM_IF, // This interface uses 2 endpoints
+ 2, // This interface uses 2 endpoints
CDCDataInterfaceDescriptor_CLASS,
CDCDataInterfaceDescriptor_SUBCLASS,
CDCDataInterfaceDescriptor_NOPROTOCOL,
personal git repositories of Harald Welte. Your mileage may vary