aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBDesc.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-08 09:39:15 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:12:14 +0200
commita1ba49e7c8d1067d3f0a87d54aedd2a746fe3342 (patch)
tree6c44b708c6d66dc50b2a1e98fbf6c27c69a37abe /cores/arduino/USBDesc.h
parentafd126f96aa114ad9185233bfda9125303b790ee (diff)
make CDC function non removable
Diffstat (limited to 'cores/arduino/USBDesc.h')
-rw-r--r--cores/arduino/USBDesc.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cores/arduino/USBDesc.h b/cores/arduino/USBDesc.h
index 3a98f9d..1962727 100644
--- a/cores/arduino/USBDesc.h
+++ b/cores/arduino/USBDesc.h
@@ -16,17 +16,11 @@
** SOFTWARE.
*/
-#define CDC_ENABLED
#define PLUGGABLE_USB_ENABLED
-#ifdef CDC_ENABLED
#define CDC_INTERFACE_COUNT 2
#define CDC_ENPOINT_COUNT 3
-#else
-#define CDC_INTERFACE_COUNT 0
-#define CDC_ENPOINT_COUNT 0
-#endif
#define CDC_ACM_INTERFACE 0 // CDC ACM
#define CDC_DATA_INTERFACE 1 // CDC Data
@@ -37,10 +31,8 @@
#define INTERFACE_COUNT (MSC_INTERFACE + MSC_INTERFACE_COUNT)
-#ifdef CDC_ENABLED
#define CDC_RX CDC_ENDPOINT_OUT
#define CDC_TX CDC_ENDPOINT_IN
-#endif
#define IMANUFACTURER 1
#define IPRODUCT 2