Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[pub/USBasp.git] / Demos / Host / ClassDriver / AndroidAccessoryHost / AndroidAccessoryHost.c
index 85819ae..4c53cc2 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2011.\r
+     Copyright (C) Dean Camera, 2012.\r
 \r
   dean [at] fourwalledcubicle [dot] com\r
            www.lufa-lib.org\r
 */\r
 \r
 /*\r
 \r
   dean [at] fourwalledcubicle [dot] com\r
            www.lufa-lib.org\r
 */\r
 \r
 /*\r
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this\r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this\r
   software and its documentation for any purpose is hereby granted\r
@@ -44,20 +44,24 @@ USB_ClassInfo_AOA_Host_t AndroidDevice_AOA_Interface =
        {\r
                .Config =\r
                        {\r
        {\r
                .Config =\r
                        {\r
-                               .DataINPipeNumber           = 1,\r
-                               .DataINPipeDoubleBank       = false,\r
-\r
-                               .DataOUTPipeNumber          = 2,\r
-                               .DataOUTPipeDoubleBank      = false,\r
-                               \r
+                               .DataINPipe             =\r
+                                       {\r
+                                               .Address        = (PIPE_DIR_IN  | 1),\r
+                                               .Banks          = 1,\r
+                                       },\r
+                               .DataOUTPipe            =\r
+                                       {\r
+                                               .Address        = (PIPE_DIR_OUT | 2),\r
+                                               .Banks          = 1,\r
+                                       },                              \r
                                .PropertyStrings =\r
                                        {\r
                                .PropertyStrings =\r
                                        {\r
-                                               .Manufacturer       = "Dean Camera",\r
-                                               .Model              = "LUFA Android Demo",\r
-                                               .Description        = "LUFA Android Demo",\r
-                                               .Version            = "1.0",\r
-                                               .URI                = "http://www.lufa-lib.org",\r
-                                               .Serial             = "0000000012345678",\r
+                                               [AOA_STRING_Manufacturer] = "Dean Camera",\r
+                                               [AOA_STRING_Model]        = "LUFA Android Demo",\r
+                                               [AOA_STRING_Description]  = "LUFA Android Demo",\r
+                                               [AOA_STRING_Version]      = "1.0",\r
+                                               [AOA_STRING_URI]          = "http://www.lufa-lib.org",\r
+                                               [AOA_STRING_Serial]       = "0000000012345678",\r
                                        },\r
                        },\r
        };\r
                                        },\r
                        },\r
        };\r