summaryrefslogtreecommitdiff
path: root/tinyusb/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-29 16:06:45 +0700
committerhathach <[email protected]>2013-06-29 16:06:45 +0700
commit7e6e5cc35630d1d173df06701cbb310bd5f20a2a (patch)
tree385e3110ad922d76b45aea311a29a43e1d99cfbb /tinyusb/tusb.h
parentd4f31e149accff338592f2172a0cccc8372c837a (diff)
[CDC]
- add configure option - add include path - add driver function table
Diffstat (limited to 'tinyusb/tusb.h')
-rw-r--r--tinyusb/tusb.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tinyusb/tusb.h b/tinyusb/tusb.h
index 0e5ddc8ca..b06b0122e 100644
--- a/tinyusb/tusb.h
+++ b/tinyusb/tusb.h
@@ -63,11 +63,14 @@
#include "class/hid_host.h"
#endif
-// #define HOST_CLASS_MSC // FIXME hack to test massstorage class
- #ifdef HOST_CLASS_MSC
+ #if TUSB_CFG_HOST_MSC
#include "class/msc_host.h"
#endif
+ #if TUSB_CFG_HOST_CDC
+ #include "class/cdc_host.h"
+ #endif
+
#if TUSB_CFG_HOST_CUSTOM_CLASS
#include "class/custom_class.h"
#endif