Enhanced class drivers to use the same public/private section seperations as other portions of the library.
This commit is contained in:
parent
afe6ae1402
commit
b7049da11b
14 changed files with 392 additions and 346 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue