diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-28 13:32:01 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-28 13:32:01 +0200 |
commit | 37e2914dbb025ff7bf72ce48789229eaac68fbb1 (patch) | |
tree | ab489afe00724f1b30dd6fa6ab9064c031c099d8 /libraries | |
parent | dfe6048175f6a0c89e27cfa7a625bcf11a81fb33 (diff) |
[HID] added 'const' qualifier in HID initialization
See https://github.com/arduino/Arduino/pull/3840#discussion_r40438845
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 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; |