Skip to content

Commit 80b7900

Browse files
committed
[HID] made HIDDescriptorListNode.length constant
1 parent e690215 commit 80b7900

File tree

1 file changed

+1
-1
lines changed
  • hardware/arduino/avr/libraries/HID

1 file changed

+1
-1
lines changed

hardware/arduino/avr/libraries/HID/HID.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class HIDDescriptorListNode {
8080
HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { }
8181

8282
const void* data;
83-
uint16_t length;
83+
const uint16_t length;
8484
};
8585

8686
class HID_ : public PUSBListNode

0 commit comments

Comments
 (0)