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:
parent
bbe7c77b91
commit
50ff97f378
17 changed files with 19 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue