diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-29 17:10:48 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-02 11:59:22 +0200 |
commit | 7811c2ceed8827cd79811f90bc82781326de957f (patch) | |
tree | 185c1284f5ce3edfea3a4037664cf632af8a75e7 /libraries/HID/HID.h | |
parent | c07f988609cf24ccdd94451eb73cc20c99f09795 (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.h | 3 |
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); |