aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-30 17:13:54 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:23 +0200
commitf8b2d8acb3ff0bd12d40d428659401c851d6e8ba (patch)
tree56c285950d5e3e6f7a7062961df7eaa9a387a04e /libraries/HID/HID.h
parent27c1832acab4bcc4527340721733d53afde33a65 (diff)
[HID] Removed static fields in HID class
There is still the epType[] array to be handled in some way.
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r--libraries/HID/HID.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index 1c8e2fc..bff51bb 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -87,15 +87,14 @@ protected:
bool setup(USBSetup& setup, uint8_t i);
private:
- static HIDDescriptor hidInterface;
+ HIDDescriptor hidInterface;
- static HIDDescriptorListNode* rootNode;
- static uint16_t sizeof_hidReportDescriptor;
- static uint8_t modules_count;
- static uint8_t epType[];
+ HIDDescriptorListNode* rootNode;
+ uint16_t sizeof_hidReportDescriptor;
+ uint8_t modules_count;
- static uint8_t protocol;
- static uint8_t idle;
+ uint8_t protocol;
+ uint8_t idle;
};
#define D_HIDREPORT(_descriptorLength) \