add TUSB_CFG_PROUDCT_ID check
move USB_MAX_EP_NUM to device dependency - lpc43 --> 6 - lpc11/13 --> 5
This commit is contained in:
@@ -53,6 +53,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ENDPOINT_OUT_LOGICAL_TO_PHYSICAL(addr) (addr)
|
||||
#define ENDPOINT_IN_LOGICAL_TO_PHYSICAL(addr) ((addr) | 0x80)
|
||||
#define STRING_LEN_BYTE2UNICODE(n) (2 + ((n)<<1))
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user