diff options
Diffstat (limited to 'libraries/HID/HID.cpp')
-rw-r--r-- | libraries/HID/HID.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp index 7e4d991..e36601f 100644 --- a/libraries/HID/HID.cpp +++ b/libraries/HID/HID.cpp @@ -83,7 +83,7 @@ void HID_::AppendDescriptor(HIDDescriptorListNode *node) sizeof_hidReportDescriptor += (uint16_t)node->length; } -void HID_::SendReport(u8 id, const void* data, int len) +void HID_::SendReport(uint8_t id, const void* data, int len) { USB_Send(HID.endpoint(), &id, 1); USB_Send(HID.endpoint() | TRANSFER_RELEASE,data,len); |