Skip to content

Commit 894d6f4

Browse files
committed
[HID] Added missing const in length
1 parent 2a6089c commit 894d6f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/HID/HID.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ class HIDDescriptorListNode {
4646
public:
4747
HIDDescriptorListNode *next = NULL;
4848
HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { }
49-
uint16_t length;
49+
5050
const void* data;
51+
const uint16_t length;
5152
};
5253

5354
class HID_

0 commit comments

Comments
 (0)