From 9f9adca03b97874754075b9c1a4612c2be1e5f07 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 3 Jun 2013 15:56:14 +0700 Subject: add TUSB_CFG_PROUDCT_ID check move USB_MAX_EP_NUM to device dependency - lpc43 --> 6 - lpc11/13 --> 5 --- tinyusb/core/std_descriptors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tinyusb/core') diff --git a/tinyusb/core/std_descriptors.h b/tinyusb/core/std_descriptors.h index 854bbe06f..249d31491 100644 --- a/tinyusb/core/std_descriptors.h +++ b/tinyusb/core/std_descriptors.h @@ -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)) //--------------------------------------------------------------------+ -- cgit v1.3.1