aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBDesc.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-05 17:33:38 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:12:13 +0200
commitea2a4215707ae69c71c1990d5b0f72ff077e3c46 (patch)
treee55bb12b67572ebc4348808ff3d4dc3afbe8e74a /cores/arduino/USBDesc.h
parente798ff32b7297127eaa8b4fac2d45ebbe9cc21d4 (diff)
Remove HID core library
Diffstat (limited to 'cores/arduino/USBDesc.h')
-rw-r--r--cores/arduino/USBDesc.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/cores/arduino/USBDesc.h b/cores/arduino/USBDesc.h
index 900713e..b3defa5 100644
--- a/cores/arduino/USBDesc.h
+++ b/cores/arduino/USBDesc.h
@@ -28,14 +28,6 @@
#define CDC_ENPOINT_COUNT 0
#endif
-#ifdef HID_ENABLED
-#define HID_INTERFACE_COUNT 1
-#define HID_ENPOINT_COUNT 1
-#else
-#define HID_INTERFACE_COUNT 0
-#define HID_ENPOINT_COUNT 0
-#endif
-
#define CDC_ACM_INTERFACE 0 // CDC ACM
#define CDC_DATA_INTERFACE 1 // CDC Data
#define CDC_FIRST_ENDPOINT 1
@@ -43,10 +35,6 @@
#define CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1)
#define CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2)
-#define HID_INTERFACE (CDC_ACM_INTERFACE + CDC_INTERFACE_COUNT) // HID Interface
-#define HID_FIRST_ENDPOINT (CDC_FIRST_ENDPOINT + CDC_ENPOINT_COUNT)
-#define HID_ENDPOINT_INT (HID_FIRST_ENDPOINT)
-
#define INTERFACE_COUNT (MSC_INTERFACE + MSC_INTERFACE_COUNT)
#ifdef CDC_ENABLED
@@ -54,10 +42,6 @@
#define CDC_TX CDC_ENDPOINT_IN
#endif
-#ifdef HID_ENABLED
-#define HID_TX HID_ENDPOINT_INT
-#endif
-
#define IMANUFACTURER 1
#define IPRODUCT 2