All USB Class Driver configuration struct values are now non-const, to allow for...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / AndroidAccessoryClassHost.c
index b0746fd..cc70589 100644 (file)
@@ -41,6 +41,8 @@ bool AOA_Host_ValidateAccessoryDevice(USB_ClassInfo_AOA_Host_t* const AOAInterfa
                                       const USB_Descriptor_Device_t* const DeviceDescriptor,\r
                                       bool* const NeedModeSwitch)\r
 {\r
+       (void)AOAInterfaceInfo;\r
+\r
        if (DeviceDescriptor->Header.Type != DTYPE_Device)\r
          return false;\r
 \r