aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-10-07 13:21:21 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-07 13:21:21 +0200
commit663c55706b5b79109dfe17d440cba4de95cbdc25 (patch)
tree8f26b79d28e84969a6534c61cda2d33b967258ed /libraries/HID/HID.cpp
parenteb084e235d8b5b50d2a5b2f926bde6aea75e92d9 (diff)
[PUSB] renamed some parameters
Diffstat (limited to 'libraries/HID/HID.cpp')
-rw-r--r--libraries/HID/HID.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp
index ff8e67b..b6b9cea 100644
--- a/libraries/HID/HID.cpp
+++ b/libraries/HID/HID.cpp
@@ -27,9 +27,9 @@ HID_& HID()
return obj;
}
-int HID_::getInterface(uint8_t* interfaceNum)
+int HID_::getInterface(uint8_t* interfaceCount)
{
- *interfaceNum += 1; // uses 1
+ *interfaceCount += 1; // uses 1
HIDDescriptor hidInterface = {
D_INTERFACE(interface(), 1, 3, 0, 0),
D_HIDREPORT(descriptorSize),