aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-02-24 15:46:58 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-02-24 15:46:58 +0000
commitcfa48f5987ee00f1ef44959cedc6e5248f2bdfb9 (patch)
tree66a72828750019b8e6f392ccae8f1b984f3e5469 /LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h
parent2b4658de2c1012a465035a8015c13762334088ac (diff)
downloadlufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.gz
lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.bz2
lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.zip
Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h
index 0ce7ece9b..6a4701e13 100644
--- a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h
+++ b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h
@@ -87,7 +87,7 @@
{
USB_Pipe_Table_t DataINPipe; /**< Data IN Pipe configuration table. */
USB_Pipe_Table_t DataOUTPipe; /**< Data OUT Pipe configuration table. */
-
+
char* PropertyStrings[AOA_STRING_TOTAL_STRINGS]; /**< Android Accessory property strings, sent to identify the accessory when the
* Android device is switched into Open Accessory mode. */
} Config; /**< Config data for the USB class interface within the device. All elements in this section
@@ -150,7 +150,7 @@
uint8_t AOA_Host_ConfigurePipes(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo,
uint16_t ConfigDescriptorSize,
void* ConfigDescriptorData) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3);
-
+
/** Starts Accessory Mode in the attached Android device. This function will validate the device's Android Open Accessory protocol
* version, send the configured property strings, and request a switch to Android Open Accessory mode.
*
@@ -175,7 +175,7 @@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum.
*/
uint8_t AOA_Host_SendData(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo,
- const uint8_t* const Buffer,
+ const void* const Buffer,
const uint16_t Length);
/** Sends a given null-terminated string to the attached USB device, if connected. If a device is not connected when the