summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
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