From 37e2914dbb025ff7bf72ce48789229eaac68fbb1 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 28 Sep 2015 13:32:01 +0200 Subject: [HID] added 'const' qualifier in HID initialization See https://github.com/arduino/Arduino/pull/3840#discussion_r40438845 --- 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 1a87bb7..f4ca7ae 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -47,7 +47,7 @@ class HIDDescriptorListNode { public: HIDDescriptorListNode *next = NULL; - HIDDescriptorListNode(const void *d, uint16_t l) : data(d), length(l) { } + HIDDescriptorListNode(const void *d, const uint16_t l) : data(d), length(l) { } const void* data; uint16_t length; -- cgit v1.2.3-18-g5258