From d71e244dffc15cd3fbabbe6e710a7a20ea09c413 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 4 Feb 2013 16:07:42 +0700 Subject: add TUSB_CFG_HOST_ENUM_BUFFER_SIZE add enum buffer getting serious with osal_freeRTOS --- tinyusb/tusb_option.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tinyusb/tusb_option.h') 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 -- cgit v1.3.1