summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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