All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.

This commit is contained in:
Dean Camera 2012-02-19 15:24:05 +00:00
parent bbe7c77b91
commit 50ff97f378
17 changed files with 19 additions and 16 deletions

View file

@ -41,6 +41,8 @@ bool AOA_Host_ValidateAccessoryDevice(USB_ClassInfo_AOA_Host_t* const AOAInterfa
const USB_Descriptor_Device_t* const DeviceDescriptor,
bool* const NeedModeSwitch)
{
(void)AOAInterfaceInfo;
if (DeviceDescriptor->Header.Type != DTYPE_Device)
return false;