aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/GenericHID/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 /Demos/Device/ClassDriver/GenericHID/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 'Demos/Device/ClassDriver/GenericHID/Descriptors.c')
-rw-r--r--Demos/Device/ClassDriver/GenericHID/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/GenericHID/Descriptors.c b/Demos/Device/ClassDriver/GenericHID/Descriptors.c
index abc360bf6..ba4e51e2c 100644
--- a/Demos/Device/ClassDriver/GenericHID/Descriptors.c
+++ b/Demos/Device/ClassDriver/GenericHID/Descriptors.c
@@ -87,7 +87,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.ProductStrIndex = 0x02,
.SerialNumStrIndex = NO_DESCRIPTOR,
- .NumberOfConfigurations = 1
+ .NumberOfConfigurations = FIXED_NUM_CONFIGURATIONS
};
/** Configuration descriptor structure. This descriptor, located in FLASH memory, describes the usage