aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r--libraries/HID/HID.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index b9f29b4..760090a 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -46,14 +46,14 @@
typedef struct __attribute__((packed)) {
uint16_t length;
- const void* descriptor;
+ const void* data;
} HID_Descriptor;
class HIDDescriptorListNode {
public:
HIDDescriptorListNode *next = NULL;
- const HID_Descriptor * cb;
- HIDDescriptorListNode(const HID_Descriptor *ncb) {cb = ncb;}
+ const HID_Descriptor *descriptor;
+ HIDDescriptorListNode(const HID_Descriptor *d) : descriptor(d) { }
};
class HID_