1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-14 11:29:26 +01:00

[HID] Added missing const in length

This commit is contained in:
Cristian Maglie 2015-09-28 15:53:59 +02:00
parent 953e6fa206
commit 43d3428d2b

View File

@ -46,8 +46,9 @@ class HIDDescriptorListNode {
public: public:
HIDDescriptorListNode *next = NULL; HIDDescriptorListNode *next = NULL;
HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { } HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { }
uint16_t length;
const void* data; const void* data;
const uint16_t length;
}; };
class HID_ class HID_