aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/CDC/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-02 23:14:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-02 23:14:30 +0000
commit6f4cc344ab47b720651e5bbf7674951c32e210b1 (patch)
treec004a065e075faa73c78c16ee02399e320b5cf1f /Bootloaders/CDC/Descriptors.c
parentbbf89d81fa225fedc5ab1190ebfa8c775612178c (diff)
downloadlufa-6f4cc344ab47b720651e5bbf7674951c32e210b1.tar.gz
lufa-6f4cc344ab47b720651e5bbf7674951c32e210b1.tar.bz2
lufa-6f4cc344ab47b720651e5bbf7674951c32e210b1.zip
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
Diffstat (limited to 'Bootloaders/CDC/Descriptors.c')
-rw-r--r--Bootloaders/CDC/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/CDC/Descriptors.c b/Bootloaders/CDC/Descriptors.c
index 0e2b3c79e..089bd7a93 100644
--- a/Bootloaders/CDC/Descriptors.c
+++ b/Bootloaders/CDC/Descriptors.c
@@ -61,7 +61,7 @@ USB_Descriptor_Device_t DeviceDescriptor =
.ProductStrIndex = 0x01,
.SerialNumStrIndex = NO_DESCRIPTOR,
- .NumberOfConfigurations = 1
+ .NumberOfConfigurations = FIXED_NUM_CONFIGURATIONS
};
/** Configuration descriptor structure. This descriptor, located in SRAM memory, describes the usage