aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-29 17:10:48 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:22 +0200
commit7811c2ceed8827cd79811f90bc82781326de957f (patch)
tree185c1284f5ce3edfea3a4037664cf632af8a75e7 /libraries/HID/HID.h
parentc07f988609cf24ccdd94451eb73cc20c99f09795 (diff)
[HID] Now HID extends directly PluggableUSBListNode
This avoid duplicate instatiation of callback and save a considerable amount of flash.
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r--libraries/HID/HID.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index 47ac3b9..b7ad457 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <Arduino.h>
+#include "PluggableUSB.h"
#if defined(USBCON)
@@ -53,7 +54,7 @@ public:
uint16_t length;
};
-class HID_
+class HID_ : public PUSBListNode
{
public:
HID_(void);