Fix for bug 15181 - the iAP interrupt In EP can now be disabled, as its use is now reported as deprecated by the ATS system. Disabled by default.

This commit is contained in:
Sam Chesney
2014-02-14 14:18:37 +00:00
parent f2366e0f34
commit e3905ae3a4
5 changed files with 41 additions and 4 deletions

View File

@@ -172,8 +172,12 @@ unsigned char devQualDesc_Null[] =
#endif
#ifdef IAP
#ifdef IAP_INT_EP
#define IAP_LENGTH (30)
#else
#define IAP_LENGTH (23)
#endif
#else
#define IAP_LENGTH (0)
#endif
@@ -1350,6 +1354,7 @@ unsigned char cfgDesc_Audio2[] =
0x02, /* 5 wMaxPacketSize */
0x00, /* 6 bInterval : Ignored for Bulk. Set to zero. (field size 1 bytes) */
#ifdef IAP_INT_EP
/* iAP Interrupt IN Endpoint Descriptor */
0x07, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */
0x05, /* 1 bDescriptorType : ENDPOINT descriptor. (field size 1 bytes) */
@@ -1358,6 +1363,7 @@ unsigned char cfgDesc_Audio2[] =
0x40, /* 4 wMaxPacketSize : 64 bytes per packet. (field size 2 bytes) - has to be 0x40 for compliance*/
0x00, /* 5 wMaxPacketSize */
0x08, /* 6 bInterval : (2^(bInterval-1))/8 ms. Must be between 4 and 32ms (field size 1 bytes) */
#endif
#endif