summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-09-05 16:12:13 +0700
committerhathach <[email protected]>2019-09-05 16:12:13 +0700
commita90e2aa2ce076009961c42a78de218f899c6ee07 (patch)
tree4c256e16815a5bc9ca508bc87fd01c46002ae860 /examples/device
parentdd07e743d8a3bcf7d37c249fe8df14d2926627f0 (diff)
55s69 device work with usb0
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/cdc_msc_hid/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h
index 92cc2bbd4..544216da9 100644
--- a/examples/device/cdc_msc_hid/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid/src/tusb_config.h
@@ -74,10 +74,10 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 1
#define CFG_TUD_MSC 1
+
#if CFG_TUSB_MCU == OPT_MCU_STM32F4
// STM32F4 does not have enough endpoints (4, including hardcoded control
-// endpoint) to enable CDC, MSC, and HID simultaneously, so disable HID as a
-// compromise.
+// endpoint) to enable CDC, MSC, and HID simultaneously, so disable HID as a compromise.
#define CFG_TUD_HID 0
#else
#define CFG_TUD_HID 1