diff options
| author | hathach <[email protected]> | 2013-12-19 12:43:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-19 12:43:22 +0700 |
| commit | cfcef0558a5b8ab797408f998074fa0ba6703ece (patch) | |
| tree | a5d468a79f9e4ad4e369b46e97e8f9408aa7ffa7 /demos/host/src | |
| parent | fce62524569e395709612a93bbe1c7cb4e72b6bd (diff) | |
fix plug & unplug issue by reseting port immediately instead of waiting for usbh enumeration task to do so
Diffstat (limited to 'demos/host/src')
| -rw-r--r-- | demos/host/src/tusb_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h index 3527ddc3f..d5ba0b6d1 100644 --- a/demos/host/src/tusb_config.h +++ b/demos/host/src/tusb_config.h @@ -60,14 +60,14 @@ //--------------------------------------------------------------------+
// HOST CONFIGURATION
//--------------------------------------------------------------------+
-#define TUSB_CFG_HOST_DEVICE_MAX 3
+#define TUSB_CFG_HOST_DEVICE_MAX 1
#define TUSB_CFG_CONFIGURATION_MAX 1
//------------- USBD -------------//
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 255
//------------- CLASS -------------//
-#define TUSB_CFG_HOST_HUB 1
+#define TUSB_CFG_HOST_HUB 0
#define TUSB_CFG_HOST_HID_KEYBOARD 0
#define TUSB_CFG_HOST_HID_MOUSE 1
#define TUSB_CFG_HOST_HID_GENERIC 0
|
