summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-23 17:00:41 +0700
committerhathach <[email protected]>2021-08-23 17:00:41 +0700
commit75cd593b609340b3101d0b002ac765c5595fa2eb (patch)
treeda79de4b89c6dce4e45097f6c3ddc4e81f753901 /src/tusb_option.h
parenta490a3fe616205115ed351ddbc0bd202bcbdc3db (diff)
add hcd_devtree_get_info()
remove usbh_hcd.h
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index bbbf10a84..925f395e7 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -268,12 +268,6 @@
#if TUSB_OPT_HOST_ENABLED
#ifndef CFG_TUH_DEVICE_MAX
#define CFG_TUH_DEVICE_MAX 1
- #warning CFG_TUH_DEVICE_MAX is not defined, default value is 1
- #endif
-
- //------------- HUB CLASS -------------//
- #if CFG_TUH_HUB && (CFG_TUH_DEVICE_MAX == 1)
- #error There is no benefit enable hub with max device is 1. Please disable hub or increase CFG_TUH_DEVICE_MAX
#endif
#ifndef CFG_TUH_ENUMERATION_BUFSIZE