X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e406140f119281a945c281d25e9a1041b862d592..59056ce544b17b543c88a73b30850c367fabe26b:/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h diff --git a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h index 0ec44e715..f55cd340a 100644 --- a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h +++ b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h @@ -85,11 +85,8 @@ { struct { - uint8_t DataINPipeNumber; /**< Pipe number of the AOA interface's IN data pipe. */ - bool DataINPipeDoubleBank; /**< Indicates if the AOA interface's IN data pipe should use double banking. */ - - uint8_t DataOUTPipeNumber; /**< Pipe number of the AOA interface's OUT data pipe. */ - bool DataOUTPipeDoubleBank; /**< Indicates if the AOA interface's OUT data pipe should use double banking. */ + 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. */ @@ -103,9 +100,6 @@ * Configured state. */ uint8_t InterfaceNumber; /**< Interface index of the AOA interface within the attached device. */ - - uint16_t DataINPipeSize; /**< Size in bytes of the AOA interface's IN data pipe. */ - uint16_t DataOUTPipeSize; /**< Size in bytes of the AOA interface's OUT data pipe. */ } State; /**< State data for the USB class interface within the device. All elements in this section * may be set to initial values, but may also be ignored to default to sane values when * the interface is enumerated. @@ -162,7 +156,7 @@ * * \param[in,out] AOAInterfaceInfo Pointer to a structure containing an AOA Class host configuration and state. * - * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum, or \ref AOA_ERROR_LOGICAL_CMD_FAILED if a logical error occured.. + * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum, or \ref AOA_ERROR_LOGICAL_CMD_FAILED if a logical error occurred.. */ uint8_t AOA_Host_StartAccessoryMode(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); @@ -317,4 +311,4 @@ /** @} */ - +