aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-30 14:51:11 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:22 +0200
commit7fee0f0a756fda618e399e6b1dce058b9e2b5fa1 (patch)
tree0af16734af0e1f1f3a056c1cb924daf7c421965a /libraries/HID/HID.cpp
parent34a75d94163b385d20b37f5cffd2ffe241c6dd7d (diff)
[PUSB] replaced u8 with uint8_t
Diffstat (limited to 'libraries/HID/HID.cpp')
-rw-r--r--libraries/HID/HID.cpp2
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);