Enhanced class drivers to use the same public/private section seperations as other portions of the library.
This commit is contained in:
1 parent
afe6ae1402
commit
b7049da11b
14 files changed
+392
-346
No files matched your search
@@ -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