Enhanced class drivers to use the same public/private section seperations as other portions of the library.

This commit is contained in:
Dean Camera 2009-06-15 04:38:42 +00:00
parent afe6ae1402
commit b7049da11b
14 changed files with 392 additions and 346 deletions

View file

@ -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);