aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-29 17:59:54 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:22 +0200
commit34a75d94163b385d20b37f5cffd2ffe241c6dd7d (patch)
tree7dca425305a447f3470213f9ddcb1a64408ad94f /libraries/HID/HID.h
parent7811c2ceed8827cd79811f90bc82781326de957f (diff)
[PUSB] Selected interface and endpoint are now part of PUSBListNode
The method int8_t PluggableUSB::addFunction(PUSBListNode *, uint8_t *) has been changed to bool PluggableUSB::plug(PUSBListNode *node) since both EP and Interfaces are now saved directly into node
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r--libraries/HID/HID.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index b7ad457..d0fe265 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -83,8 +83,6 @@ typedef struct
EndpointDescriptor in;
} HIDDescriptor;
-#define HID_TX HID_ENDPOINT_INT
-
#define D_HIDREPORT(_descriptorLength) \
{ 9, 0x21, 0x1, 0x1, 0, 1, 0x22, _descriptorLength & 0xFF, _descriptorLength >> 8 }