Remove potentially unaligned uint32_t access in HIDParser.c, replace with standard...
[pub/lufa.git] / LUFA / Drivers / USB / Class / Host / AndroidAccessoryClassHost.h
index d981342..58bd98f 100644 (file)
                                        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