rename tusbh_device_mount_succeed_cb

add set configure and tusbh_device_mount_succeed_cb invocation
refractor get_configure_number_for_device
This commit is contained in:
hathach
2013-02-27 12:42:32 +07:00
parent 5eca6d69c3
commit b1d33c7ffc
5 changed files with 63 additions and 31 deletions
+7 -7
View File
@@ -61,16 +61,16 @@
#define TUSB_CFG_HOST
//------------- CORE/CONTROLLER -------------//
#define TUSB_CFG_HOST_CONTROLLER_NUM 2
#define TUSB_CFG_HOST_CONTROLLER_START_INDEX 1
#define TUSB_CFG_HOST_CONTROLLER_NUM 2
#define TUSB_CFG_HOST_CONTROLLER_START_INDEX 1
#define TUSB_CFG_HOST_DEVICE_MAX 2
#define TUSB_CFG_CONFIGURATION_MAX 2
#define TUSB_CFG_HOST_DEVICE_MAX 2
#define TUSB_CFG_CONFIGURATION_MAX 2
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 256
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 256
//------------- CLASS -------------//
#define TUSB_CFG_HOST_HID_KEYBOARD 1
#define TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE 64
#define TUSB_CFG_HOST_HID_KEYBOARD 1
#define TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE 64
//--------------------------------------------------------------------+
// DEVICE CONFIGURATION