house keeping

- correct initialization call sequence
- move hcd_init to ehci.c
This commit is contained in:
hathach
2013-02-27 18:49:28 +07:00
parent d54a12c449
commit 0c397c6b8d
11 changed files with 21 additions and 14 deletions
+4 -1
View File
@@ -60,13 +60,16 @@
//--------------------------------------------------------------------+
#define TUSB_CFG_HOST
//------------- CORE/CONTROLLER -------------//
//------------- CONTROLLER -------------//
#define TUSB_CFG_HOST_CONTROLLER_NUM 1
#define TUSB_CFG_HOST_CONTROLLER_START_INDEX 0
#define TUSB_CFG_HOST_DEVICE_MAX 1
#define TUSB_CFG_CONFIGURATION_MAX 1
//------------- USBD -------------//
#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