diff --git a/hardware/arduino/sam/libraries/HID/HID.h b/hardware/arduino/sam/libraries/HID/HID.h index 5c8313b5d..f28d07918 100644 --- a/hardware/arduino/sam/libraries/HID/HID.h +++ b/hardware/arduino/sam/libraries/HID/HID.h @@ -46,7 +46,7 @@ class HIDDescriptorListNode { public: HIDDescriptorListNode *next = NULL; HIDDescriptorListNode(const void *d, uint16_t l) : data(d), length(l) { } - uint8_t length; + uint16_t length; const void* data; };