forked from PAWPAW-Mirror/lib_xua
Added XUA_ENDPOINT_COUNT_CUSTOM_IN/OUT define
This commit is contained in:
@@ -1193,7 +1193,7 @@ enum USBEndpointNumber_In
|
|||||||
ENDPOINT_NUMBER_IN_IAP_EA_NATIVE_TRANS,
|
ENDPOINT_NUMBER_IN_IAP_EA_NATIVE_TRANS,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ENDPOINT_COUNT_IN /* End marker */
|
XUA_ENDPOINT_COUNT_IN /* End marker */
|
||||||
};
|
};
|
||||||
|
|
||||||
enum USBEndpointNumber_Out
|
enum USBEndpointNumber_Out
|
||||||
@@ -1209,9 +1209,21 @@ enum USBEndpointNumber_Out
|
|||||||
ENDPOINT_NUMBER_OUT_IAP_EA_NATIVE_TRANS,
|
ENDPOINT_NUMBER_OUT_IAP_EA_NATIVE_TRANS,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ENDPOINT_COUNT_OUT /* End marker */
|
XUA_ENDPOINT_COUNT_OUT /* End marker */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef XUA_ENDPOINT_COUNT_CUSTOM_OUT
|
||||||
|
#define XUA_ENDPOINT_COUNT_CUSTOM_OUT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef XUA_ENDPOINT_COUNT_CUSTOM_IN
|
||||||
|
#define XUA_ENDPOINT_COUNT_CUSTOM_IN 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define ENDPOINT_COUNT_IN (XUA_ENDPOINT_COUNT_IN + XUA_ENDPOINT_COUNT_CUSTOM_IN)
|
||||||
|
#define ENDPOINT_COUNT_OUT (XUA_ENDPOINT_COUNT_OUT + XUA_ENDPOINT_COUNT_CUSTOM_OUT)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*** Internal defines below here. NOT FOR MODIFICATION ***/
|
/*** Internal defines below here. NOT FOR MODIFICATION ***/
|
||||||
|
|||||||
Reference in New Issue
Block a user