summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-19 16:31:51 +0700
committerhathach <[email protected]>2019-07-19 16:31:51 +0700
commit6a076d8aae25a21a2592f654aa7b86e3e6d072a4 (patch)
tree48d78da2d86b307686ddde0922d19a67fcf23680 /examples
parentb0678e1050a8f64116194c2a75d5e8c3fbf03be6 (diff)
rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 56208e771..7a18c692b 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -67,7 +67,7 @@
#endif
//--------------------------------------------------------------------
-// DEVICE CONFIGURATION
+// CONFIGURATION
//--------------------------------------------------------------------
#define CFG_TUH_HUB 1
@@ -82,30 +82,16 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 0
#define CFG_TUD_MSC 0
-#define CFG_TUD_VENDOR 0
-
#define CFG_TUD_HID 0
-#define CFG_TUD_HID_KEYBOARD 0
-#define CFG_TUD_HID_MOUSE 0
+#define CFG_TUD_VENDOR 0
-//--------------------------------------------------------------------
-// CDC
-//--------------------------------------------------------------------
-
-// FIFO size of CDC TX and RX
+// CDC FIFO size of TX and RX
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
-//--------------------------------------------------------------------
-// MSC
-//--------------------------------------------------------------------
-
-// Buffer size of Device Mass storage
+// MSC Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512
-//--------------------------------------------------------------------
-// HID
-//--------------------------------------------------------------------
#ifdef __cplusplus
}