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:
1 parent
bbe7c77b91
commit
50ff97f378
17 files changed
+19
-16
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user