summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-06 21:46:34 +0700
committerhathach <[email protected]>2018-12-06 21:46:34 +0700
commit5b09774ae05d15cb18ff9920864535b8444a1c3c (patch)
treed43e4106fe8509308982e3a25584580a3bc3b4fa /src/tusb_option.h
parent1d3583785f9f890da2e6ac720d1327ab0452f974 (diff)
clean up usbh, rename doxygen folder to docs
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 6b84db21c..07b39b5be 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -213,7 +213,7 @@
#endif
//------------- HUB CLASS -------------//
- #if CFG_TUSB_HOST_HUB && (CFG_TUSB_HOST_DEVICE_MAX == 1)
+ #if CFG_TUH_HUB && (CFG_TUSB_HOST_DEVICE_MAX == 1)
#error there is no benefit enable hub with max device is 1. Please disable hub or increase CFG_TUSB_HOST_DEVICE_MAX
#endif