Enhanced class drivers to use the same public/private section seperations as other portions of the library.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user