Skip to content

Commit fba6ca8

Browse files
committed
[HID] fixed wrong datatype for descriptor len
See https://github.com/arduino/Arduino/pull/3840/files#r40438845
1 parent e4d63ad commit fba6ca8

File tree

1 file changed

+1
-1
lines changed
  • hardware/arduino/sam/libraries/HID

1 file changed

+1
-1
lines changed

Diff for: hardware/arduino/sam/libraries/HID/HID.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class HIDDescriptorListNode {
4646
public:
4747
HIDDescriptorListNode *next = NULL;
4848
HIDDescriptorListNode(const void *d, uint16_t l) : data(d), length(l) { }
49-
uint8_t length;
49+
uint16_t length;
5050
const void* data;
5151
};
5252

0 commit comments

Comments
 (0)