From f720c8cacf91877bcd33d11fe660cf0dcaf0a4d8 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 12 Oct 2015 11:59:08 +0200 Subject: [HID] made HIDDescriptorListNode.length constant --- libraries/HID/HID.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries') 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 -- cgit v1.2.3-18-g5258