diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-15 04:38:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-15 04:38:42 +0000 |
commit | b7049da11b6fe3c37b23d8f7dddfff08ba14f449 (patch) | |
tree | 0cb3b12bf41561fe31dfc8472012ae69a1d105c2 /LUFA/Drivers/USB/Class/Host/CDC.c | |
parent | afe6ae14023c7040befe73e49d00077d3425c564 (diff) | |
download | lufa-b7049da11b6fe3c37b23d8f7dddfff08ba14f449.tar.gz lufa-b7049da11b6fe3c37b23d8f7dddfff08ba14f449.tar.bz2 lufa-b7049da11b6fe3c37b23d8f7dddfff08ba14f449.zip |
Enhanced class drivers to use the same public/private section seperations as other portions of the library.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/CDC.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.c b/LUFA/Drivers/USB/Class/Host/CDC.c index 30970f119..32cc9e6eb 100644 --- a/LUFA/Drivers/USB/Class/Host/CDC.c +++ b/LUFA/Drivers/USB/Class/Host/CDC.c @@ -43,7 +43,7 @@ static uint8_t CDC_Host_ProcessConfigDescriptor(void) if (USB_GetDeviceConfigDescriptor(&ConfigDescriptorSize, NULL) != HOST_SENDCONTROL_Successful)
return ControlError;
- if (ConfigDescriptorSize > MAX_CONFIG_DESCRIPTOR_SIZE)
+ if (ConfigDescriptorSize > 512)
return DescriptorTooLarge;
ConfigDescriptorData = alloca(ConfigDescriptorSize);
|