diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-12 11:59:08 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-12 11:59:08 +0200 |
commit | f720c8cacf91877bcd33d11fe660cf0dcaf0a4d8 (patch) | |
tree | 0e32bb08762687e19c74e70e609aebc57f2a3710 /libraries | |
parent | ad0b3d9332a8b149df95e30285dc328f9418c59d (diff) |
[HID] made HIDDescriptorListNode.length constant
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/HID/HID.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index 77a9f24..c0c2b59 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -80,7 +80,7 @@ public: HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { } const void* data; - uint16_t length; + const uint16_t length; }; class HID_ : public PUSBListNode |