aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-10-12 11:59:08 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-12 11:59:08 +0200
commitf720c8cacf91877bcd33d11fe660cf0dcaf0a4d8 (patch)
tree0e32bb08762687e19c74e70e609aebc57f2a3710 /libraries/HID
parentad0b3d9332a8b149df95e30285dc328f9418c59d (diff)
[HID] made HIDDescriptorListNode.length constant
Diffstat (limited to 'libraries/HID')
-rw-r--r--libraries/HID/HID.h2
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