From a1ba49e7c8d1067d3f0a87d54aedd2a746fe3342 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Mon, 8 Jun 2015 09:39:15 +0200 Subject: make CDC function non removable --- cores/arduino/USBDesc.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cores/arduino/USBDesc.h') 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 -- cgit v1.2.3-18-g5258