Added define for the number of alternative settings on the iAP EA Native Transport interface

This commit is contained in:
Sam Chesney
2014-07-29 15:12:19 +01:00
parent 012f4fbba3
commit a84ed67cd5

View File

@@ -907,6 +907,22 @@
#undef IAP_EA_NATIVE_TRANS
#endif
#if defined(IAP_EA_NATIVE_TRANS) || defined(__DOXYGEN__)
/**
* @brief Number of supported EA Native Interface Alternative settings.
*
* Only 1 supported
*/
#ifndef IAP_EA_NATIVE_TRANS_ALT_COUNT
#define IAP_EA_NATIVE_TRANS_ALT_COUNT 1
#endif
#if (IAP_EA_NATIVE_TRANS_ALT_COUNT > 1)
/* Only 1 supported */
#error
#endif
#endif
/* Endpoint addresses enums */
enum USBEndpointNumber_In
{