Added support for the BitWizard Multio and Big-Multio boards.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / AndroidAccessoryClassHost.h
index 6894789..58bd98f 100644 (file)
@@ -83,7 +83,7 @@
                         */\r
                        typedef struct\r
                        {\r
-                               const struct\r
+                               struct\r
                                {\r
                                        uint8_t  DataINPipeNumber; /**< Pipe number of the AOA interface's IN data pipe. */\r
                                        bool     DataINPipeDoubleBank; /**< Indicates if the AOA interface's IN data pipe should use double banking. */\r
                                        uint8_t  DataOUTPipeNumber; /**< Pipe number of the AOA interface's OUT data pipe. */\r
                                        bool     DataOUTPipeDoubleBank; /**< Indicates if the AOA interface's OUT data pipe should use double banking. */\r
                                        \r
-                                       struct\r
-                                       {\r
-                                               char* Manufacturer; /**< Device manufacturer string. */\r
-                                               char* Model; /**< Device model name string. */\r
-                                               char* Description; /**< Device description string. */\r
-                                               char* Version; /**< Device version string. */\r
-                                               char* URI; /**< Device URI information string. */\r
-                                               char* Serial; /**< Device serial number string. */\r
-                                       } ATTR_PACKED PropertyStrings; /**< Android Accessory property strings, sent to identify the accessory when the\r
-                                                                       *   Android device is switched into Open Accessory mode. */\r
+                                       char*    PropertyStrings[AOA_STRING_TOTAL_STRINGS]; /**< Android Accessory property strings, sent to identify the accessory when the\r
+                                                                                            *   Android device is switched into Open Accessory mode. */\r
                                } Config; /**< Config data for the USB class interface within the device. All elements in this section\r
                                           *   <b>must</b> be set or the interface will fail to enumerate and operate correctly.\r
                                           */\r