summaryrefslogtreecommitdiff
path: root/demos/device/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-31 12:38:12 +0700
committerhathach <[email protected]>2014-03-31 12:38:12 +0700
commit97b5ce74c9434078ad735bca2cbf37845f9038d0 (patch)
treea6c2e0f26840efbef4331bd7914838eb832ee583 /demos/device/src
parent140115584fd50297d9cc28b71de72d258660d696 (diff)
all classes work well with lpcxpresso device freertos
keil device freertos, CDC has problem with typing too many characters
Diffstat (limited to 'demos/device/src')
-rw-r--r--demos/device/src/cdc_device_app.c4
-rw-r--r--demos/device/src/tusb_config.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/demos/device/src/cdc_device_app.c b/demos/device/src/cdc_device_app.c
index 2abbc427b..accd61547 100644
--- a/demos/device/src/cdc_device_app.c
+++ b/demos/device/src/cdc_device_app.c
@@ -46,9 +46,7 @@
//--------------------------------------------------------------------+
// INCLUDE
//--------------------------------------------------------------------+
-enum {
- CDCD_APP_BUFFER_SIZE = 64
-};
+enum { CDCD_APP_BUFFER_SIZE = 64 };
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h
index 554728687..c21caaade 100644
--- a/demos/device/src/tusb_config.h
+++ b/demos/device/src/tusb_config.h
@@ -62,7 +62,7 @@
#define TUSB_CFG_DEVICE_HID_MOUSE 1
#define TUSB_CFG_DEVICE_HID_GENERIC 0 // not supported yet
#define TUSB_CFG_DEVICE_MSC 1
-#define TUSB_CFG_DEVICE_CDC 0
+#define TUSB_CFG_DEVICE_CDC 1
//--------------------------------------------------------------------+
// COMMON CONFIGURATION