summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-04 16:07:42 +0700
committerhathach <[email protected]>2013-02-04 16:07:42 +0700
commitd71e244dffc15cd3fbabbe6e710a7a20ea09c413 (patch)
treecec86a2520fbd271094f67cc86d2dd594844d2ba /tinyusb/tusb_option.h
parent0a13e37ba22c195b685cbcb61e51500f038a38c4 (diff)
add TUSB_CFG_HOST_ENUM_BUFFER_SIZE
add enum buffer getting serious with osal_freeRTOS
Diffstat (limited to 'tinyusb/tusb_option.h')
-rw-r--r--tinyusb/tusb_option.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h
index cc12cc8eb..1dc042bca 100644
--- a/tinyusb/tusb_option.h
+++ b/tinyusb/tusb_option.h
@@ -114,6 +114,11 @@
#endif
#endif // end TUSB_CFG_HOST_HID_KEYBOARD
+ #ifndef TUSB_CFG_HOST_ENUM_BUFFER_SIZE
+ #define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 256
+ #warning TUSB_CFG_HOST_ENUM_BUFFER_SIZE is not defined, default value is 256
+ #endif
+
#define HOST_CLASS_HID ( (defined TUSB_CFG_HOST_HID_KEYBOARD) )
#define HOST_EHCI
#endif // end TUSB_CFG_HOST